Add pagination to admin pages
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<section>
|
||||
<% if @donations.any? %>
|
||||
<h3>Recent Donations</h3>
|
||||
<table class="divided">
|
||||
<table class="divided mb-8">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>User</th>
|
||||
@@ -52,6 +52,7 @@
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
<%== pagy_nav @pagy %>
|
||||
<% else %>
|
||||
<p>
|
||||
No donations yet.
|
||||
|
||||
Reference in New Issue
Block a user