From da53b969afcfd3bd778af1d110526c11bc3e0213 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Fri, 8 Feb 2019 09:34:35 +0000 Subject: [PATCH] Add a check/uncheck all button to search (#10264). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17852 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/search/index.html.erb | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb index c1ee25ce7..526568130 100644 --- a/app/views/search/index.html.erb +++ b/app/views/search/index.html.erb @@ -11,11 +11,14 @@

-

-<% @object_types.each do |t| %> - -<% end %> -

+
+ <%= toggle_checkboxes_link('p#search-types input') %> +

+ <% @object_types.each do |t| %> + + <% end %> +

+