Sha256: 46dd540ca81c2f86c5e9175aa1f94048dfef623ff28d4e497514b5fd7c7aebd2
Contents?: true
Size: 713 Bytes
Versions: 17
Compression:
Stored size: 713 Bytes
Contents
<%# Link showing page number - available local variables page: a page object for "this" page url: url to this 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 -%> <li class="w-6 h-6 rounded-full hover:bg-background-3 transition<%= "mx-2 bg-background-3 grid place-items-center" if page.current? %>" <%== 'aria-current="page"' if page.current? %> data-page> <%= link_to_unless page.current?, page, url, { class: "w-full h-full grid place-items-center", remote:, rel: page.rel, title: t("views.pagination.title") << page.to_s } %> </li>
Version data entries
17 entries across 17 versions & 1 rubygems