Sha256: d835db5bbb66748690a4f8fdf01f102082ed2e5321be810f85aae92783a40288

Contents?: true

Size: 555 Bytes

Versions: 52

Compression:

Stored size: 555 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

52 entries across 40 versions & 6 rubygems

Version Path
gossiper-0.5.0 app/views/kaminari/gossiper/_paginator.html.erb
gossiper-0.3.8 app/views/kaminari/gossiper/_paginator.html.erb
gossiper-0.3.8 app/views/kaminari/_paginator.html.erb
gossiper-0.3.7 app/views/kaminari/gossiper/_paginator.html.erb
gossiper-0.3.7 app/views/kaminari/_paginator.html.erb
gossiper-0.3.6 app/views/kaminari/gossiper/_paginator.html.erb
gossiper-0.3.6 app/views/kaminari/_paginator.html.erb
outpost-cms-0.0.4 app/views/kaminari/bootstrap/_paginator.html.erb
basepack-0.1.0 app/views/kaminari/_paginator.html.erb
basepack-0.0.2 app/views/kaminari/_paginator.html.erb
gossiper-0.3.5 app/views/kaminari/_paginator.html.erb
gossiper-0.3.5 app/views/kaminari/gossiper/_paginator.html.erb
gossiper-0.3.4 app/views/kaminari/gossiper/_paginator.html.erb
gossiper-0.3.4 app/views/kaminari/_paginator.html.erb
gossiper-0.3.3 app/views/kaminari/gossiper/_paginator.html.erb
gossiper-0.3.3 app/views/kaminari/_paginator.html.erb
gossiper-0.3.2 app/views/kaminari/_paginator.html.erb
gossiper-0.3.2 app/views/kaminari/gossiper/_paginator.html.erb
gossiper-0.3.1 app/views/kaminari/_paginator.html.erb
gossiper-0.3.1 app/views/kaminari/gossiper/_paginator.html.erb