Sha256: f68c26e524a34923ba6bc0f49a8fddd17dd56b9f16d1bc66c31ed3d59e7bc5ee
Contents?: true
Size: 745 Bytes
Versions: 23
Compression:
Stored size: 745 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 -%> <div class="pagination-container"> <div class="pagination"> <%= prev_page_tag %> <% each_page do |page| -%> <% if page.left_outer? || page.right_outer? || page.inside_window? -%> <%= page_tag page %> <% elsif !page.was_truncated? -%> <%= gap_tag %> <% end -%> <% end -%> <%= next_page_tag %> </div> </div> <% end -%>
Version data entries
23 entries across 23 versions & 1 rubygems