diff options
Diffstat (limited to 'app/views/search/index.html.erb')
-rw-r--r-- | app/views/search/index.html.erb | 13 |
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> |