2011-02-25 03:04:59 +00:00
|
|
|
<%# Link to the "Previous" page
|
2011-02-11 07:53:41 +00:00
|
|
|
- available local variables
|
|
|
|
url: url to the previous page
|
2011-02-27 15:17:09 +00:00
|
|
|
current_page: a page object for the currently displayed page
|
2012-05-25 06:31:53 +00:00
|
|
|
total_pages: total number of pages
|
2011-02-11 07:53:41 +00:00
|
|
|
per_page: number of items to fetch per page
|
|
|
|
remote: data-remote
|
2011-02-08 21:59:27 +00:00
|
|
|
-%>
|
2011-04-16 12:46:52 +00:00
|
|
|
<span class="prev">
|
2013-07-12 05:06:10 +00:00
|
|
|
<%= link_to_unless current_page.first?, t('views.pagination.previous').html_safe, url, :rel => 'prev', :remote => remote %>
|
2011-02-05 14:20:06 +00:00
|
|
|
</span>
|