_prev_page.html.haml 453 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([material_symbol('chevron_left'), t('pagination.prev')], ' '), url, rel: 'prev', remote: remote