mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 23:32:33 -05:00
fix pagination
This commit is contained in:
1 parent
c7659563b8
commit
4adaa531b7
3 files changed
+4
-7
No files matched your search
@@ -106,7 +106,7 @@
|
||||
<div class="flex items-center space-x-1.5">
|
||||
<div class="join">
|
||||
<% if @pagy.previous %>
|
||||
<%= link_to '«', url_for(page: @pagy.previous, anchor: 'log'), class: 'join-item btn min-h-full h-10' %>
|
||||
<%= link_to '«', url_for(params: request.query_parameters.merge('page' => @pagy.previous), anchor: 'log'), class: 'join-item btn min-h-full h-10' %>
|
||||
<% else %>
|
||||
<span class="join-item btn btn-disabled !bg-base-200 min-h-full h-10">«</span>
|
||||
<% end %>
|
||||
@@ -114,7 +114,7 @@
|
||||
<%= "Page #{@pagy.page}" %>
|
||||
</span>
|
||||
<% if @pagy.next %>
|
||||
<%= link_to '»', url_for(page: @pagy.next, anchor: 'log'), class: 'join-item btn min-h-full h-10' %>
|
||||
<%= link_to '»', url_for(params: request.query_parameters.merge('page' => @pagy.next), anchor: 'log'), class: 'join-item btn min-h-full h-10' %>
|
||||
<% else %>
|
||||
<span class="join-item btn btn-disabled !bg-base-200 min-h-full h-10">»</span>
|
||||
<% end %>
|
||||
|
||||
Reference in new issue
Block a user