Project

General

Profile

Patch #28242 » 0003-adds-toogle-checkboxes-to-project-modules-from-proje.patch

Marius BĂLTEANU, 2018-02-25 15:49

View differences:

app/views/projects/_form.html.erb
29 29
</div>
30 30

  
31 31
<% if @project.safe_attribute?('enabled_module_names') %>
32
<fieldset class="box tabular"><legend><%= l(:label_module_plural) %></legend>
32
<fieldset class="box tabular" id="project_modules"><legend><%= toggle_checkboxes_link('#project_modules input[type="checkbox"]') %><%= l(:label_module_plural) %></legend>
33 33
<% Redmine::AccessControl.available_project_modules.each do |m| %>
34 34
    <label class="floating">
35 35
    <%= check_box_tag 'project[enabled_module_names][]', m, @project.module_enabled?(m), :id => "project_enabled_module_names_#{m}" %>
(3-3/7)