From 86eb202d2b2b9541f1758140a2d270b5aa953461 Mon Sep 17 00:00:00 2001 From: Bohung Date: Tue, 11 May 2021 10:31:38 +0800 Subject: [PATCH] Add pagination. --- app/views/admin/ruling_templates/index.html.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/admin/ruling_templates/index.html.erb b/app/views/admin/ruling_templates/index.html.erb index 88b495b..a5b3e4d 100644 --- a/app/views/admin/ruling_templates/index.html.erb +++ b/app/views/admin/ruling_templates/index.html.erb @@ -20,6 +20,11 @@ +<%= + content_tag :div, class: "bottomnav clearfix" do + content_tag :div, paginate(@templates), class: "pagination pagination-centered" + end +%>