Sha256: 885817f7df169524bf0f8572183c7913cc0fd9864cce97980666bdafed67a7a2
Contents?: true
Size: 543 Bytes
Versions: 12
Compression:
Stored size: 543 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="page-item<% if page.current? %> active<% end %>"> <%= link_to content_tag(:span, page), url, class: "page-link", remote: remote, rel: page.next? ? 'next' : page.prev? ? 'prev' : nil %> </li>
Version data entries
12 entries across 12 versions & 1 rubygems