mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 08:52:04 +02:00
fixed admin pagination
This commit is contained in:
parent
f81c06673c
commit
11029e83ce
25 changed files with 126 additions and 15 deletions
|
@ -11,6 +11,7 @@
|
|||
</div>
|
||||
|
||||
<% if @zones.present? %>
|
||||
<%= render 'application/pagination' %>
|
||||
<table class="table table-hover table-bordered table-wrapped">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -26,3 +27,13 @@
|
|||
<% else %>
|
||||
<div class="alert alert-info"><%= t '.not_found' %></div>
|
||||
<% end %>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<%= paginate @zones %>
|
||||
</div>
|
||||
<div class="col-md-6 text-right">
|
||||
<div class="pagination">
|
||||
<%= t(:result_count, count: @count) %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue