Sha256: 8bcb2a51b91de6ef966b48602b933f4cf5977d0985ca17f81b4fe7b1edf5b619
Contents?: true
Size: 706 Bytes
Versions: 12
Compression:
Stored size: 706 Bytes
Contents
<%# The container tag - available local variables 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 paginator: the paginator that renders the pagination tags inside -%> <%= paginator.render do -%> <nav class="pagination" role="navigation" aria-label="pager"> <%= first_page_tag unless current_page.first? %> <%= prev_page_tag unless current_page.first? %> <% unless current_page.out_of_range? %> <%= last_page_tag unless current_page.last? %> <%= next_page_tag unless current_page.last? %> <% end %> </nav> <% end -%>
Version data entries
12 entries across 12 versions & 1 rubygems