Sha256: bdbce6deef7322264c73c21afd9a109d3e62fe0e2e0a2b1274e0c6af08d2f083

Contents?: true

Size: 518 Bytes

Versions: 23

Compression:

Stored size: 518 Bytes

Contents

<%= paginator.render do -%>
  <div class="nav pagination">
    <%= first_page_tag unless current_page.first? %>
    <%= prev_page_tag unless current_page.first? %>
    <% 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 unless current_page.last? %>
    <%= last_page_tag unless current_page.last? %>
  </div>
<% end -%>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
iqvoc-3.2.5 app/views/kaminari/_paginator.html.erb
iqvoc-3.2.4 app/views/kaminari/_paginator.html.erb
iqvoc-3.2.3 app/views/kaminari/_paginator.html.erb