Sha256: 44e285afca3b47af66159fefaa1ef159656b6bb04f855ad32be80101c8e05605
Contents?: true
Size: 735 Bytes
Versions: 23
Compression:
Stored size: 735 Bytes
Contents
<%# The container tag - available local variables current_page: a page object for the currently displayed page num_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-container"> <%= prev_page_tag %> <%= next_page_tag %> <div class="page_links"> <% each_relevant_page do |page| -%> <% if page.left_outer? || page.right_outer? || page.inside_window? -%> <%= page_tag page %> <% elsif !page.was_truncated? -%> <%= gap_tag %> <% end -%> <% end -%> </div> </nav> <% end -%>
Version data entries
23 entries across 23 versions & 1 rubygems