adds pagination to admin lists

Ref: #80
This commit is contained in:
Juanjo Bazán
2015-08-19 14:08:22 +02:00
committed by Juanjo Bazán
parent a43c753ebb
commit fda8412ed3
8 changed files with 20 additions and 6 deletions

View File

@@ -13,6 +13,8 @@
<% end %>
</p>
<h3><%= page_entries_info @organizations %></h3>
<table>
<% @organizations.each do |organization| %>
<tr>
@@ -41,4 +43,6 @@
<% end %>
</tr>
<% end %>
</table>
</table>
<%= paginate @organizations %>