From 8ab1401b4e641a4437a587a76171f1a7f1c26a5e Mon Sep 17 00:00:00 2001 From: Marius BALTEANU Date: Thu, 14 Dec 2017 20:42:11 +0000 Subject: [PATCH 3/8] adds toogle checkboxes to project modules from project settings --- app/views/projects/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/_form.html.erb b/app/views/projects/_form.html.erb index 864bfb3..5bd5a9f 100644 --- a/app/views/projects/_form.html.erb +++ b/app/views/projects/_form.html.erb @@ -29,7 +29,7 @@ <% if @project.safe_attribute?('enabled_module_names') %> -
<%= l(:label_module_plural) %> +
<%= toggle_checkboxes_link('#project_modules input[type="checkbox"]') %><%= l(:label_module_plural) %> <% Redmine::AccessControl.available_project_modules.each do |m| %>