To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / 05 / 0513c24a062b523037219d9978aab2b119808571.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (618 Bytes)

1 1296:038ba2d95de8 Chris
<%= form_for @project,
2
            :url => { :action => 'modules', :id => @project },
3
            :html => {:id => 'modules-form',
4
                      :method => :post} do |f| %>
5
6
<div class="box">
7
<fieldset>
8
<legend><%= l(:text_select_project_modules) %></legend>
9
10
<% Redmine::AccessControl.available_project_modules.each do |m| %>
11
<p><label><%= check_box_tag 'enabled_module_names[]', m, @project.module_enabled?(m) -%>
12
 <%= l_or_humanize(m, :prefix => "project_module_") %></label></p>
13
<% end %>
14
</fieldset>
15
</div>
16
17
<p><%= check_all_links 'modules-form' %></p>
18
<p><%= submit_tag l(:button_save) %></p>
19
20
<% end %>