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.3.0 app/views/kaminari/gossiper/_paginator.html.erb
gossiper-0.3.0 app/views/kaminari/_paginator.html.erb
asset_host_core-2.0.0.beta app/views/kaminari/_paginator.html.erb
outpost-cms-0.0.3 app/views/kaminari/bootstrap/_paginator.html.erb
clipster-0.5.3 app/views/kaminari/_paginator.html.erb
invoice_bar-0.0.6 app/views/kaminari/_paginator.html.erb
invoice_bar-0.0.5 app/views/kaminari/_paginator.html.erb
invoice_bar-0.0.4 app/views/kaminari/_paginator.html.erb
invoice_bar-0.0.3 app/views/kaminari/_paginator.html.erb
invoice_bar-0.0.2 app/views/kaminari/_paginator.html.erb
invoice_bar-0.0.1 app/views/kaminari/_paginator.html.erb
clipster-0.4.0 app/views/kaminari/_paginator.html.erb