diff --git a/app/views/admin/faqs/index.html.erb b/app/views/admin/faqs/index.html.erb index 5fe2b02..851c4b7 100644 --- a/app/views/admin/faqs/index.html.erb +++ b/app/views/admin/faqs/index.html.erb @@ -1,73 +1,8 @@ -<% content_for :right_nav do %> - -
- <% @filter_fields.keys.each do |field| %> -
-
- <% @filter_fields[field].each do |val| %> - <%= link_to t(val[:title]), "#", :onclick => "filter.addFilter('filters[#{field}][]=#{val[:id]}')", :class => "btn btn-small #{is_filter_active?(field, val[:id])}" %> - <% end %> -
- -
- <% end %> -
-<% end %> +<%= render_filter @filter_fields %>
<%= render 'index'%>
-