Fixed kaminari pagination style for Bootstrap 3.0
This commit is contained in:
parent
0ad7b6400a
commit
a0ba7bdf18
1 changed files with 2 additions and 4 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
<%= paginator.render do -%>
|
<%= paginator.render do -%>
|
||||||
<div class="pagination">
|
<ul class="pagination">
|
||||||
<ul>
|
|
||||||
<%= first_page_tag unless current_page.first? %>
|
<%= first_page_tag unless current_page.first? %>
|
||||||
<%= prev_page_tag unless current_page.first? %>
|
<%= prev_page_tag unless current_page.first? %>
|
||||||
<% each_page do |page| -%>
|
<% each_page do |page| -%>
|
||||||
|
|
@ -12,6 +11,5 @@
|
||||||
<% end -%>
|
<% end -%>
|
||||||
<%= next_page_tag unless current_page.last? %>
|
<%= next_page_tag unless current_page.last? %>
|
||||||
<%= last_page_tag unless current_page.last? %>
|
<%= last_page_tag unless current_page.last? %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue