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
invoice_bar-0.0.11 app/views/kaminari/_paginator.html.erb
invoice_bar-0.0.10 app/views/kaminari/_paginator.html.erb
invoice_bar-0.0.9 app/views/kaminari/_paginator.html.erb
invoice_bar-0.0.8 app/views/kaminari/_paginator.html.erb
invoice_bar-0.0.7 app/views/kaminari/_paginator.html.erb
basepack-1.0.1 app/views/kaminari/_paginator.html.erb
basepack-1.0.0 app/views/kaminari/_paginator.html.erb
outpost-cms-0.1.4 app/views/kaminari/bootstrap/_paginator.html.erb
outpost-cms-0.1.3 app/views/kaminari/bootstrap/_paginator.html.erb
basepack-1.0.0.pre.0 app/views/kaminari/_paginator.html.erb
outpost-cms-0.1.2 app/views/kaminari/bootstrap/_paginator.html.erb
outpost-cms-0.1.1 app/views/kaminari/bootstrap/_paginator.html.erb
outpost-cms-0.1.0 app/views/kaminari/bootstrap/_paginator.html.erb
basepack-0.2.0 app/views/kaminari/_paginator.html.erb
outpost-cms-0.0.5 app/views/kaminari/bootstrap/_paginator.html.erb
gossiper-0.5.2 app/views/kaminari/gossiper/_paginator.html.erb
gossiper-0.5.2 app/views/kaminari/_paginator.html.erb
gossiper-0.5.1 app/views/kaminari/gossiper/_paginator.html.erb
gossiper-0.5.1 app/views/kaminari/_paginator.html.erb
gossiper-0.5.0 app/views/kaminari/gossiper/_paginator.html.erb