Commit ff6771b7 authored by maeda's avatar maeda

Add a check/uncheck all button to search (#10264).

Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@17852 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 46212ab2
...@@ -11,11 +11,14 @@ ...@@ -11,11 +11,14 @@
<label><%= check_box_tag 'titles_only', 1, @titles_only %> <%= l(:label_search_titles_only) %></label> <label><%= check_box_tag 'titles_only', 1, @titles_only %> <%= l(:label_search_titles_only) %></label>
</p> </p>
<p id="search-types"> <fieldset class="box">
<% @object_types.each do |t| %> <legend><%= toggle_checkboxes_link('p#search-types input') %></legend>
<label><%= check_box_tag t, 1, @scope.include?(t) %> <%= link_to type_label(t), "#" %></label> <p id="search-types">
<% end %> <% @object_types.each do |t| %>
</p> <label><%= check_box_tag t, 1, @scope.include?(t) %> <%= link_to type_label(t), "#" %></label>
<% end %>
</p>
</fieldset>
<fieldset class="collapsible collapsed"> <fieldset class="collapsible collapsed">
<legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend> <legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment