<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
</div>
</fieldset>
-<fieldset class="collapsible collapsed">
+<fieldset id="options" class="collapsible collapsed">
<legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>
<div style="display: none;">
<table>
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
</div>
</fieldset>
- <fieldset class="collapsible collapsed">
+ <fieldset id="options" class="collapsible collapsed">
<legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>
<div style="display: none;">
<table>
<tr>
- <td><%= l(:field_column_names) %></td>
+ <td class="field"><%= l(:field_column_names) %></td>
<td><%= render_query_columns_selection(@query) %></td>
</tr>
<tr>
- <td><label for='group_by'><%= l(:field_group_by) %></label></td>
+ <td class="field"><label for='group_by'><%= l(:field_group_by) %></label></td>
<td><%= select_tag('group_by',
options_for_select(
[[]] + @query.groupable_columns.collect {|c| [c.caption, c.name.to_s]},
) %></td>
</tr>
<tr>
- <td><%= l(:button_show) %></td>
+ <td class="field"><%= l(:button_show) %></td>
<td><%= available_block_columns_tags(@query) %></td>
</tr>
<tr>
<%= check_box_tag 'query_is_for_all', 1, @query.project.nil?, :class => (User.current.admin? ? '' : 'disable-unless-private') %></p>
<% unless params[:gantt] %>
-<fieldset><legend><%= l(:label_options) %></legend>
+<fieldset id="options"><legend><%= l(:label_options) %></legend>
<p><label for="query_default_columns"><%=l(:label_default_columns)%></label>
<%= check_box_tag 'default_columns', 1, @query.has_default_columns?, :id => 'query_default_columns',
:onclick => 'if (this.checked) {$("#columns").hide();} else {$("#columns").show();}' %></p>
<%= available_totalable_columns_tags(@query) %></p>
</fieldset>
<% else %>
-<fieldset><legend><%= l(:label_options) %></legend>
+<fieldset id="options"><legend><%= l(:label_options) %></legend>
<p><label><%= l(:button_show) %></label>
<label class="inline"><%= check_box_tag "query[draw_relations]", "1", @query.draw_relations %> <%= l(:label_related_issues) %></label>
<label class="inline"><%= check_box_tag "query[draw_progress_line]", "1", @query.draw_progress_line %> <%= l(:label_gantt_progress_line) %></label>
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
</div>
</fieldset>
- <fieldset class="collapsible collapsed">
+ <fieldset id="options" class="collapsible collapsed">
<legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>
<div style="display: none;">
<table>
<tr>
- <td><%= l(:field_column_names) %></td>
+ <td class="field"><%= l(:field_column_names) %></td>
<td><%= render_query_columns_selection(@query) %></td>
</tr>
</table>