16 lines
846 B
Plaintext
16 lines
846 B
Plaintext
<%# Link to the "Next" page
|
|
- available local variables
|
|
url: url to the next page
|
|
current_page: a page object for the currently displayed page
|
|
total_pages: total number of pages
|
|
per_page: number of items to fetch per page
|
|
remote: data-remote
|
|
-%>
|
|
<%= link_to (current_page.last? ? '#' : url), rel: 'next', remote: remote, class: "paginate-page paginate-next-page" do %>
|
|
<span class="sr-only"><%= t('views.pagination.next').html_safe %></span>
|
|
<!-- Heroicon name: solid/chevron-right -->
|
|
<svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
|
<path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
|
|
</svg>
|
|
<% end %>
|