Adding id attribute to modules field set on project form.
This commit is contained in:
parent
a7ab39dd31
commit
b8d0aa0b85
|
@ -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…
Reference in New Issue