2007-09-14 15:34:08 +04:00
|
|
|
<% form_for :project, @project,
|
|
|
|
:url => { :action => 'modules', :id => @project },
|
|
|
|
:html => {:id => 'modules-form'} do |f| %>
|
|
|
|
|
|
|
|
<div class=box>
|
2008-02-13 01:43:37 +03:00
|
|
|
<strong><%= l(:text_select_project_modules) %></strong>
|
2008-02-16 13:15:19 +03:00
|
|
|
|
2007-09-14 15:34:08 +04:00
|
|
|
<% Redmine::AccessControl.available_project_modules.each do |m| %>
|
2008-02-16 13:15:19 +03:00
|
|
|
<p><label><%= check_box_tag 'enabled_modules[]', 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 %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p><%= check_all_links 'modules-form' %></p>
|
|
|
|
<p><%= submit_tag l(:button_save) %></p>
|
|
|
|
|
|
|
|
<% end %>
|