From f23d28baf638f0ce828ef87f7f4c90e61e150f5e Mon Sep 17 00:00:00 2001 From: Yannick Date: Fri, 1 May 2020 14:58:48 +0200 Subject: [PATCH] Show pagination only when there is more than one page Added an option to display the pagination configuration only when the number of pages is greater than one --- app/views/forms/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/forms/show.html.erb b/app/views/forms/show.html.erb index e61786c..b357039 100644 --- a/app/views/forms/show.html.erb +++ b/app/views/forms/show.html.erb @@ -68,7 +68,7 @@ - <%== pagy_bulma_nav(@pagy) %> + <%== pagy_bulma_nav(@pagy) if @pagy.pages > 1 %> <% end %>