@@ -20,7 +20,9 | |||||
20 | </p> |
|
20 | </p> | |
21 |
|
21 | |||
22 | <p class="buttons"> |
|
22 | <p class="buttons"> | |
|
23 | <%= label_tag('month', l(:label_month)) %> | |||
23 | <%= select_month(@month, :prefix => "month", :discard_type => true) %> |
|
24 | <%= select_month(@month, :prefix => "month", :discard_type => true) %> | |
|
25 | <%= label_tag('year', l(:label_year)) %> | |||
24 | <%= select_year(@year, :prefix => "year", :discard_type => true) %> |
|
26 | <%= select_year(@year, :prefix => "year", :discard_type => true) %> | |
25 |
|
27 | |||
26 | <%= link_to_remote l(:button_apply), |
|
28 | <%= link_to_remote l(:button_apply), |
@@ -94,7 +94,7 function toggle_multi_select(field) { | |||||
94 | </table> |
|
94 | </table> | |
95 | </td> |
|
95 | </td> | |
96 | <td class="add-filter"> |
|
96 | <td class="add-filter"> | |
97 | <%= l(:label_filter_add) %>: |
|
97 | <%= label_tag('add_filter_select', l(:label_filter_add)) %>: | |
98 | <%= select_tag 'add_filter_select', options_for_select([["",""]] + query.available_filters.sort{|a,b| a[1][:order]<=>b[1][:order]}.collect{|field| [ field[1][:name] || l(("field_"+field[0].to_s.gsub(/_id$/, "")).to_sym), field[0]] unless query.has_filter?(field[0])}.compact), |
|
98 | <%= select_tag 'add_filter_select', options_for_select([["",""]] + query.available_filters.sort{|a,b| a[1][:order]<=>b[1][:order]}.collect{|field| [ field[1][:name] || l(("field_"+field[0].to_s.gsub(/_id$/, "")).to_sym), field[0]] unless query.has_filter?(field[0])}.compact), | |
99 | :onchange => "add_filter();", |
|
99 | :onchange => "add_filter();", | |
100 | :class => "select-small", |
|
100 | :class => "select-small", |
General Comments 0
You need to be logged in to leave comments.
Login now