@@ -1,15 +1,16 | |||
|
1 | 1 | <h2><%=l(:label_project_new)%></h2> |
|
2 | 2 | |
|
3 | 3 | <% labelled_tabular_form_for :project, @project, :url => { :action => "add" } do |f| %> |
|
4 | 4 | <%= render :partial => 'form', :locals => { :f => f } %> |
|
5 | 5 | |
|
6 | 6 | <fieldset class="box"><legend><%= l(:label_module_plural) %></legend> |
|
7 | 7 | <% Redmine::AccessControl.available_project_modules.each do |m| %> |
|
8 | 8 | <label class="floating"> |
|
9 |
<%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) %> |
|
|
9 | <%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) %> | |
|
10 | <%= (l_has_string?("project_module_#{m}".to_sym) ? l("project_module_#{m}".to_sym) : m.to_s.humanize) %> | |
|
10 | 11 | </label> |
|
11 | 12 | <% end %> |
|
12 | 13 | </fieldset> |
|
13 | 14 | |
|
14 | 15 | <%= submit_tag l(:button_save) %> |
|
15 | 16 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now