diff options
author | Go MAEDA <maeda@farend.jp> | 2018-02-26 12:02:35 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-02-26 12:02:35 +0000 |
commit | 576a0b346cf0bc64eaf233cddd64e76830ff414b (patch) | |
tree | 0b7c2ef2e7f708b6c4dfa362393621d60ce48044 /app/views/projects | |
parent | 72ccf0c74dce777341705ca9fd832a605e637eeb (diff) | |
download | redmine-576a0b346cf0bc64eaf233cddd64e76830ff414b.tar.gz redmine-576a0b346cf0bc64eaf233cddd64e76830ff414b.zip |
Adds toggle checkboxes to project modules from project settings (#28242).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17215 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_form.html.erb b/app/views/projects/_form.html.erb index 864bfb305..5bd5a9f0c 100644 --- a/app/views/projects/_form.html.erb +++ b/app/views/projects/_form.html.erb @@ -29,7 +29,7 @@ </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}" %> |