Sha256: 1556acb0b3b0b8a3c4ea21ff629d9330954a4fc957e6a57f9f25311049b0a9cf
Contents?: true
Size: 741 Bytes
Versions: 199
Compression:
Stored size: 741 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 class="pagination"> <%= 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
199 entries across 198 versions & 4 rubygems