|
|
@ -10,7 +10,9 @@ |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<td> |
|
|
|
<table id="filter_table"> |
|
|
|
<table id="filter_table"> |
|
|
|
<% CostQuery::Filter.all.sort { |f1,f2| f1.applies_for.to_s <=> f2.applies_for.to_s }.each do |filter| %> |
|
|
|
<% CostQuery::Filter.all_grouped.each do |label, filter_ary| %> |
|
|
|
|
|
|
|
<tr id="tr_<%= label.to_s %>"><td><h3><%= l(label) %></h3></td></tr> |
|
|
|
|
|
|
|
<% filter_ary.each do |filter| %> |
|
|
|
<tr id="tr_<%= filter.underscore_name %>" class="filter" style="display:none"> |
|
|
|
<tr id="tr_<%= filter.underscore_name %>" class="filter" style="display:none"> |
|
|
|
<% html_elements(filter).each do |element| %> |
|
|
|
<% html_elements(filter).each do |element| %> |
|
|
|
<%= |
|
|
|
<%= |
|
|
@ -20,6 +22,7 @@ |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
|
|
|
|
<% end %> |
|
|
|
</table> |
|
|
|
</table> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
<td class="add-filter"> |
|
|
|
<td class="add-filter"> |
|
|
|