_prev_page.html.haml 456 B

123456789
  1. -# Link to the "Previous" page
  2. -# available local variables
  3. -# url: url to the previous 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.prev
  9. = link_to_unless current_page.first?, safe_join([fa_icon('chevron-left'), t('pagination.prev')], ' '), url, rel: 'prev', remote: remote