kaminari--kaminari/app/views/kaminari/_prev_link.html.haml

10 lines
403 B
Plaintext

-# "Previous" with link
- available local variables
url: url to the previous page
current_page: the page number of currently displayed page
num_pages: total number of pages
per_page: number of items to fetch per page
remote: data-remote
%span.prev
= link_to raw(t 'views.pagination.previous'), url, :class => 'prev', :rel => 'prev', :remote => remote