Sha256: db99ad120d61cad536224a8b1b8eb2cfa0dd9deb8855531bcf1f844b5ed27cc4

Contents?: true

Size: 572 Bytes

Versions: 3

Compression:

Stored size: 572 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
clipster-0.5.2 app/views/kaminari/_paginator.html.erb
clipster-0.4.1 app/views/kaminari/_paginator.html.erb
clipster-0.3.0 app/views/kaminari/_paginator.html.erb