Adding id attribute to modules field set on project form.

pull/41/head
Nick Peelman 13 years ago
parent a7ab39dd31
commit b8d0aa0b85
  1. 2
      app/views/projects/_form.rhtml

@ -24,7 +24,7 @@
</div> </div>
<% if @project.new_record? %> <% if @project.new_record? %>
<fieldset class="box"><legend><%= l(:label_module_plural) %></legend> <fieldset class="box" id="project_modules"><legend><%= l(:label_module_plural) %></legend>
<% Redmine::AccessControl.available_project_modules.each do |m| %> <% Redmine::AccessControl.available_project_modules.each do |m| %>
<label class="floating"> <label class="floating">
<%= check_box_tag 'project[enabled_module_names][]', m, @project.module_enabled?(m), :id => "project_enabled_module_names_#{m}" %> <%= check_box_tag 'project[enabled_module_names][]', m, @project.module_enabled?(m), :id => "project_enabled_module_names_#{m}" %>

Loading…
Cancel
Save