Sha256: 2d5de7f6c34d52711c8286d6f2c7ee41bd0396b46bb29681e4d21f936852ab29

Contents?: true

Size: 449 Bytes

Versions: 5

Compression:

Stored size: 449 Bytes

Contents

<%= paginator.render do -%>
  <nav class="pagination">
    <ul>
      <%= first_page_tag %>
      <%= prev_page_tag %>
      <% 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 %>
      <%= last_page_tag %>
    </ul>
  </nav>
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_application-0.3.1 app/views/kaminari/_paginator.html.erb
active_application-0.3.0 app/views/kaminari/_paginator.html.erb
active_application-0.2.0 app/views/kaminari/_paginator.html.erb
active_application-0.1.0 app/views/kaminari/_paginator.html.erb
active_application-0.0.1 app/views/kaminari/_paginator.html.erb