summaryrefslogtreecommitdiffstats
path: root/app/views/queries/_query_form.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/queries/_query_form.html.erb')
-rw-r--r--app/views/queries/_query_form.html.erb10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/views/queries/_query_form.html.erb b/app/views/queries/_query_form.html.erb
index 2e9aa0f25..c28a4cab6 100644
--- a/app/views/queries/_query_form.html.erb
+++ b/app/views/queries/_query_form.html.erb
@@ -5,7 +5,10 @@
<div id="query_form_with_buttons" class="hide-when-print">
<div id="query_form_content">
<fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
- <legend onclick="toggleFieldset(this);" class="icon icon-<%= @query.new_record? ? "expanded" : "collapsed" %>"><%= l(:label_filter_plural) %></legend>
+ <legend onclick="toggleFieldset(this);" class="icon icon-<%= @query.new_record? ? "expanded" : "collapsed" %>">
+ <%= sprite_icon(@query.new_record? ? "angle-down" : "angle-right") %>
+ <%= l(:label_filter_plural) %>
+ </legend>
<div style="<%= @query.new_record? ? "" : "display: none;" %>">
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
</div>
@@ -13,7 +16,10 @@
<% if @query.available_columns.any? %>
<fieldset id="options" class="collapsible collapsed">
- <legend onclick="toggleFieldset(this);" class="icon icon-collapsed"><%= l(:label_options) %></legend>
+ <legend onclick="toggleFieldset(this);" class="icon icon-collapsed">
+ <%= sprite_icon("angle-right") %>
+ <%= l(:label_options) %>
+ </legend>
<div class="hidden">
<% if @query.available_display_types.size > 1 %>
<div>