Sha256: 6988ec05827a2e1bbb8f249f05a157fef2af1b644aac6456c75c25f8ff6b65a0

Contents?: true

Size: 525 Bytes

Versions: 9

Compression:

Stored size: 525 Bytes

Contents

<%= paginator.render do %>
  <nav class="pagination">
    <%= prev_page_tag unless current_page.first? %>
    <%= next_page_tag unless current_page.last? %>
    <ul class="pagination-list">
      <%= first_page_tag unless current_page.first? %>
      <% each_page do |page| %>
        <% if page.display_tag? %>
          <%= page_tag page %>
        <% elsif !page.was_truncated? %>
          <%= gap_tag %>
        <% end %>
      <% end %>
      <%= last_page_tag unless current_page.last? %>
    </ul>
  </nav>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
authz-0.0.5 app/views/authz/kaminari/_paginator.html.erb
authz-0.0.4 app/views/authz/kaminari/_paginator.html.erb
authz-0.0.3 app/views/authz/kaminari/_paginator.html.erb
authz-0.0.2 app/views/authz/kaminari/_paginator.html.erb
authz-0.0.1 app/views/authz/kaminari/_paginator.html.erb
authz-0.0.1.alpha5 app/views/authz/kaminari/_paginator.html.erb
authz-0.0.1.alpha4 app/views/authz/kaminari/_paginator.html.erb
authz-0.0.1.alpha3 app/views/authz/kaminari/_paginator.html.erb
authz-0.0.1.alpha2 app/views/authz/kaminari/_paginator.html.erb