Sha256: 78b242d68c80404811190e2147db433ca0c6dcba1205a54713ee3b35845c0204

Contents?: true

Size: 524 Bytes

Versions: 5

Compression:

Stored size: 524 Bytes

Contents

<%= paginator.render do %>
  <div class="pagination">
    <ul class="grid pagination">
      <% 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

5 entries across 5 versions & 1 rubygems

Version Path
wice_grid-7.1.4 app/views/kaminari/wice_grid/_paginator.html.erb
wice_grid-7.1.3 app/views/kaminari/wice_grid/_paginator.html.erb
wice_grid-7.1.2 app/views/kaminari/wice_grid/_paginator.html.erb
wice_grid-7.1.1 app/views/kaminari/wice_grid/_paginator.html.erb
wice_grid-7.1.0 app/views/kaminari/wice_grid/_paginator.html.erb