Sha256: 66b56d550e800c4b3cdd1523b05736f96a7699aedf0e60259d4c0cf4898d28db

Contents?: true

Size: 548 Bytes

Versions: 4

Compression:

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

4 entries across 4 versions & 1 rubygems

Version Path
qwerty-0.0.7.pre app/views/kaminari/twitter/_paginator.html.erb
qwerty-0.0.5.pre app/views/kaminari/twitter/_paginator.html.erb
qwerty-0.0.4.pre app/views/kaminari/twitter/_paginator.html.erb
qwerty-0.0.3.pre app/views/kaminari/twitter/_paginator.html.erb