summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-03-17 07:08:30 +0000
committerGo MAEDA <maeda@farend.jp>2019-03-17 07:08:30 +0000
commitbdbb89b7b3608950e49b617c97b2c346f899466a (patch)
treebbaebdef1be20beadef783cfc9ee18e26e17f4bb /app
parent956eb1b7fa12289651cdb56b91db7a899c6bedcb (diff)
downloadredmine-bdbb89b7b3608950e49b617c97b2c346f899466a.tar.gz
redmine-bdbb89b7b3608950e49b617c97b2c346f899466a.zip
Merged r17852 from trunk to 4.0-stable (#10264).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17986 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/search/index.html.erb13
1 files 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 @@
<label><%= check_box_tag 'titles_only', 1, @titles_only %> <%= l(:label_search_titles_only) %></label>
</p>
-<p id="search-types">
-<% @object_types.each do |t| %>
-<label><%= check_box_tag t, 1, @scope.include?(t) %> <%= link_to type_label(t), "#" %></label>
-<% end %>
-</p>
+<fieldset class="box">
+ <legend><%= toggle_checkboxes_link('p#search-types input') %></legend>
+ <p id="search-types">
+ <% @object_types.each do |t| %>
+ <label><%= check_box_tag t, 1, @scope.include?(t) %> <%= link_to type_label(t), "#" %></label>
+ <% end %>
+ </p>
+</fieldset>
<fieldset class="collapsible collapsed">
<legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>