Commit d597850a authored by maeda's avatar maeda
Browse files

Adds toggle checkboxes to project modules from project settings (#28242).

Patch by Marius BALTEANU.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent f757b938
......@@ -29,7 +29,7 @@
<% if @project.safe_attribute?('enabled_module_names') %>
<fieldset class="box tabular"><legend><%= l(:label_module_plural) %></legend>
<fieldset class="box tabular" id="project_modules"><legend><%= toggle_checkboxes_link('#project_modules input[type="checkbox"]') %><%= l(:label_module_plural) %></legend>
<% Redmine::AccessControl.available_project_modules.each do |m| %>
<label class="floating">
<%= check_box_tag 'project[enabled_module_names][]', m, @project.module_enabled?(m), :id => "project_enabled_module_names_#{m}" %>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment