@@ -26,12 +26,12 | |||
|
26 | 26 | <fieldset id="options"><legend><%= l(:label_options) %></legend> |
|
27 | 27 | <p><label for="query_default_columns"><%=l(:label_default_columns)%></label> |
|
28 | 28 | <%= check_box_tag 'default_columns', 1, @query.has_default_columns?, :id => 'query_default_columns', |
|
29 | :onclick => 'if (this.checked) {$("#columns").hide();} else {$("#columns").show();}' %></p> | |
|
29 | :data => {:disables => "#columns, .block_columns input"} %></p> | |
|
30 | 30 | |
|
31 | 31 | <p><label for="query_group_by"><%= l(:field_group_by) %></label> |
|
32 | 32 | <%= select 'query', 'group_by', @query.groupable_columns.collect {|c| [c.caption, c.name.to_s]}, :include_blank => true %></p> |
|
33 | 33 | |
|
34 | <p><label><%= l(:button_show) %></label> | |
|
34 | <p class="block_columns"><label><%= l(:button_show) %></label> | |
|
35 | 35 | <%= available_block_columns_tags(@query) %></p> |
|
36 | 36 | |
|
37 | 37 | <p><label><%= l(:label_total_plural) %></label> |
@@ -71,7 +71,7 | |||
|
71 | 71 | <% end %> |
|
72 | 72 | |
|
73 | 73 | <% unless params[:gantt] %> |
|
74 |
<%= content_tag 'fieldset', :id => 'columns' |
|
|
74 | <%= content_tag 'fieldset', :id => 'columns' do %> | |
|
75 | 75 | <legend><%= l(:field_column_names) %></legend> |
|
76 | 76 | <%= render_query_columns_selection(query) %> |
|
77 | 77 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now