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
This commit is contained in:
Yannick 2020-05-01 14:58:48 +02:00
parent 97bf16574f
commit f23d28baf6

View File

@ -68,7 +68,7 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<%== pagy_bulma_nav(@pagy) %> <%== pagy_bulma_nav(@pagy) if @pagy.pages > 1 %>
<% end %> <% end %>