Sha256: 066727198bb8e7647d4574d6283af94e3ef06feb21b444c23f64b3046b1b54da
Contents?: true
Size: 783 Bytes
Versions: 27
Compression:
Stored size: 783 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"> <%#= first_page_tag unless current_page.first? %> <%= 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 %> <%#= last_page_tag unless current_page.last? %> </div> <% end -%>
Version data entries
27 entries across 27 versions & 2 rubygems