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 / app / views / projects / settings / _modules.html.erb @ 912:5e80956cc792

History | View | Annotate | Download (587 Bytes)

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