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
</div>
<% 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}" %>
(3-3/7)