mirror of
https://github.com/mcasimir/kaminari-bootstrap.git
synced 2022-11-09 13:46:52 -05:00
13 lines
470 B
Text
13 lines
470 B
Text
<%# Link to the "Previous" page
|
|
- available local variables
|
|
url: url to the previous page
|
|
current_page: a page object for the currently displayed page
|
|
total_pages: total number of pages
|
|
per_page: number of items to fetch per page
|
|
remote: data-remote
|
|
-%>
|
|
<% unless current_page.first? -%>
|
|
<li class="prev">
|
|
<%= link_to raw(t 'views.pagination.previous'), url, :remote => remote, :rel => 'prev' %>
|
|
</li>
|
|
<% end -%>
|