From: Go MAEDA Date: Mon, 26 Feb 2018 12:02:35 +0000 (+0000) Subject: Adds toggle checkboxes to project modules from project settings (#28242). X-Git-Tag: 4.0.0~387 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=576a0b346cf0bc64eaf233cddd64e76830ff414b;p=redmine.git 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 --- 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 @@ <% 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| %>