2007-09-14 15:34:08 +04:00
|
|
|
<% form_for :project, @project,
|
|
|
|
:url => { :action => 'modules', :id => @project },
|
|
|
|
:html => {:id => 'modules-form'} do |f| %>
|
2011-05-30 22:52:25 +04:00
|
|
|
|
2010-01-21 21:21:56 +03:00
|
|
|
<div class="box">
|
|
|
|
<fieldset>
|
|
|
|
<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| %>
|
2011-01-06 23:57:17 +03:00
|
|
|
<p><label><%= check_box_tag 'enabled_module_names[]', m, @project.module_enabled?(m) -%>
|
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
|
|
|
</div>
|
|
|
|
|
|
|
|
<p><%= check_all_links 'modules-form' %></p>
|
|
|
|
<p><%= submit_tag l(:button_save) %></p>
|
|
|
|
|
|
|
|
<% end %>
|