Sha256: 8ca570051dab9caef604f756a1a86eafe4f90355498c8393e4163d02e7b39462

Contents?: true

Size: 499 Bytes

Versions: 9

Compression:

Stored size: 499 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
wice_grid-3.4.0 app/views/kaminari/wice_grid/_paginator.html.erb
wice_grid-3.3.1 app/views/kaminari/wice_grid/_paginator.html.erb
wice_grid-3.3.0 app/views/kaminari/wice_grid/_paginator.html.erb
wice_grid-3.2.1 app/views/kaminari/wice_grid/_paginator.html.erb
wice_grid-3.2.1.pre3 app/views/kaminari/wice_grid/_paginator.html.erb
wice_grid-3.2.1.pre2 app/views/kaminari/wice_grid/_paginator.html.erb
wice_grid-3.2.1.pre1 app/views/kaminari/wice_grid/_paginator.html.erb
wice_grid-3.2.0 app/views/kaminari/wice_grid/_paginator.html.erb
wice_grid-3.2.0.pre4 app/views/kaminari/wice_grid/_paginator.html.erb