To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / projects / settings / _modules.html.erb @ 1298:4f746d8966dd
History | View | Annotate | Download (605 Bytes)
| 1 | 1115:433d4f72a19b | Chris | <%= form_for @project,
|
|---|---|---|---|
| 2 | 0:513646585e45 | Chris | :url => { :action => 'modules', :id => @project },
|
| 3 | 1115:433d4f72a19b | Chris | :html => {:id => 'modules-form',
|
| 4 | :method => :post} do |f| %>
|
||
| 5 | 909:cbb26bc654de | Chris | |
| 6 | 1295:622f24f53b42 | Chris | <fieldset class="box"> |
| 7 | 0:513646585e45 | Chris | <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 | 1295:622f24f53b42 | Chris | <p><%= check_all_links 'modules-form' %></p> |
| 15 | 0:513646585e45 | Chris | |
| 16 | <p><%= submit_tag l(:button_save) %></p> |
||
| 17 | |||
| 18 | <% end %> |