@@ -20,7 +20,9 | |||
|
20 | 20 | </p> |
|
21 | 21 | |
|
22 | 22 | <p class="buttons"> |
|
23 | <%= label_tag('month', l(:label_month)) %> | |
|
23 | 24 | <%= select_month(@month, :prefix => "month", :discard_type => true) %> |
|
25 | <%= label_tag('year', l(:label_year)) %> | |
|
24 | 26 | <%= select_year(@year, :prefix => "year", :discard_type => true) %> |
|
25 | 27 | |
|
26 | 28 | <%= link_to_remote l(:button_apply), |
@@ -94,7 +94,7 function toggle_multi_select(field) { | |||
|
94 | 94 | </table> |
|
95 | 95 | </td> |
|
96 | 96 | <td class="add-filter"> |
|
97 | <%= l(:label_filter_add) %>: | |
|
97 | <%= label_tag('add_filter_select', l(:label_filter_add)) %>: | |
|
98 | 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 | 99 | :onchange => "add_filter();", |
|
100 | 100 | :class => "select-small", |
General Comments 0
You need to be logged in to leave comments.
Login now