diff --git a/app/views/admin/announcements/_index.html.erb b/app/views/admin/announcements/_index.html.erb index e2354e3..f416919 100644 --- a/app/views/admin/announcements/_index.html.erb +++ b/app/views/admin/announcements/_index.html.erb @@ -56,8 +56,4 @@ content_tag :div, class: "bottomnav clearfix" do content_tag :div, paginate(@bulletins), class: "pagination pagination-centered" end -%> - - \ No newline at end of file +%> \ No newline at end of file diff --git a/app/views/admin/announcements/index.html.erb b/app/views/admin/announcements/index.html.erb index fb5add3..5606225 100644 --- a/app/views/admin/announcements/index.html.erb +++ b/app/views/admin/announcements/index.html.erb @@ -1,28 +1,4 @@ -<% 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])}", :id => "filter_#{val[:id]}" %> - <% end %> -
- -
- <% end %> -
-<% end %> +<%= render_filter @filter_fields %> <%= render 'index'%> @@ -31,68 +7,5 @@ <%= render 'layouts/delete_modal', delete_options: @delete_options %> \ No newline at end of file