You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

add.rhtml 615B

12345678910111213141516
  1. <h2><%=l(:label_project_new)%></h2>
  2. <% labelled_tabular_form_for :project, @project, :url => { :action => "add" } do |f| %>
  3. <%= render :partial => 'form', :locals => { :f => f } %>
  4. <fieldset class="box"><legend><%= l(:label_module_plural) %></legend>
  5. <% Redmine::AccessControl.available_project_modules.each do |m| %>
  6. <label class="floating">
  7. <%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) %>
  8. <%= (l_has_string?("project_module_#{m}".to_sym) ? l("project_module_#{m}".to_sym) : m.to_s.humanize) %>
  9. </label>
  10. <% end %>
  11. </fieldset>
  12. <%= submit_tag l(:button_save) %>
  13. <% end %>