You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
448 B

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