_prev_page.html.haml 445 B

12345678910
  1. -#
  2. Link to the "Previous" page
  3. available local variables
  4. url: url to the previous page
  5. current_page: a page object for the currently displayed page
  6. total_pages: total number of pages
  7. per_page: number of items to fetch per page
  8. remote: data-remote
  9. %span.prev
  10. = link_to_unless current_page.first?, safe_join([fa_icon('chevron-left'), t('pagination.prev')], ' '), url, rel: 'prev', remote: remote