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 @ 1354:fc0fecf09eb9
History | View | Annotate | Download (618 Bytes)
| 1 |
<%= 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 %>
|