From 9af9afa631024a747be76a5c0784a48b467020ae Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Thu, 23 Oct 2014 19:02:34 +0800 Subject: [PATCH] fixed deleting problem --- app/views/admin/web_resources/_index.html.erb | 1 - app/views/admin/web_resources/index.html.erb | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/admin/web_resources/_index.html.erb b/app/views/admin/web_resources/_index.html.erb index 3c57f0e..38e93aa 100644 --- a/app/views/admin/web_resources/_index.html.erb +++ b/app/views/admin/web_resources/_index.html.erb @@ -26,7 +26,6 @@ <% end %> - <%= content_tag :div, class: "bottomnav clearfix" do content_tag :div, paginate(@links), class: "pagination pagination-centered" diff --git a/app/views/admin/web_resources/index.html.erb b/app/views/admin/web_resources/index.html.erb index 80f6fa7..c8b34be 100644 --- a/app/views/admin/web_resources/index.html.erb +++ b/app/views/admin/web_resources/index.html.erb @@ -1,4 +1,6 @@ <%= render_filter @filter_fields, "index_table" %>
<%= render 'index'%> -
\ No newline at end of file + + +<%= render 'layouts/delete_modal', delete_options: @delete_options %> \ No newline at end of file