_next_page.html.haml 438 B

1234567891011
  1. -#
  2. Link to the "Next" page
  3. available local variables
  4. url: url to the next 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.next
  10. = link_to_unless current_page.last?, safe_join([t('pagination.next'), fa_icon('chevron-right')], ' '), url, rel: 'next', remote: remote