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

Version Path
blacklight-5.6.0 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.5.3 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.5.2 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.5.1 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.5.0 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.4.0 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.4.0.rc1 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.3.0 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.0.3 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.1.1 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.2.0 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.1.0 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.0.2 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.0.1 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.0.0 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.0.0.pre4 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.0.0.pre3 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.0.0.pre2 app/views/kaminari/blacklight/_paginator.html.erb
blacklight-5.0.0.pre1 app/views/kaminari/blacklight/_paginator.html.erb