Sha256: 68598e514db08dcefd6635441507c3e57aab6edb21fe8dc044b1dde1592eef8b
Contents?: true
Size: 722 Bytes
Versions: 24
Compression:
Stored size: 722 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 now using the Bootstrap paginator class -%> <%= paginator.render do -%> <ul> <%= prev_page_tag %> <%= next_page_tag %> <% 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 -%> </ul> <% end -%>
Version data entries
24 entries across 24 versions & 1 rubygems