2012-04-25 21:17:49 +04:00
|
|
|
<%= form_for @project,
|
2007-09-14 15:34:08 +04:00
|
|
|
:url => { :action => 'modules', :id => @project },
|
2012-01-03 14:48:40 +04:00
|
|
|
:html => {:id => 'modules-form',
|
|
|
|
:method => :post} do |f| %>
|
2011-09-14 12:38:37 +04:00
|
|
|
|
2013-02-02 19:06:34 +04:00
|
|
|
<fieldset class="box">
|
2010-01-21 21:21:56 +03:00
|
|
|
<legend><%= l(:text_select_project_modules) %></legend>
|
2008-02-16 13:15:19 +03:00
|
|
|
|
2007-09-14 15:34:08 +04:00
|
|
|
<% Redmine::AccessControl.available_project_modules.each do |m| %>
|
2014-01-11 16:55:21 +04:00
|
|
|
<p><label><%= check_box_tag 'enabled_module_names[]', m, @project.module_enabled?(m), :id => nil -%>
|
2009-02-21 14:04:50 +03:00
|
|
|
<%= l_or_humanize(m, :prefix => "project_module_") %></label></p>
|
2007-09-14 15:34:08 +04:00
|
|
|
<% end %>
|
2010-01-21 21:21:56 +03:00
|
|
|
</fieldset>
|
2007-09-14 15:34:08 +04:00
|
|
|
<p><%= check_all_links 'modules-form' %></p>
|
2013-02-02 19:06:34 +04:00
|
|
|
|
2007-09-14 15:34:08 +04:00
|
|
|
<p><%= submit_tag l(:button_save) %></p>
|
|
|
|
|
|
|
|
<% end %>
|