Sha256: 64cfaff79d0ac01174bc4f4787c8b5b65b7033156aa998fbf9aeb8065aa8042e

Contents?: true

Size: 583 Bytes

Versions: 3

Compression:

Stored size: 583 Bytes

Contents

<%= paginator.render do -%>
  <div class="pagination-centered">
    <ul class="pagination">
      <%= 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

3 entries across 3 versions & 2 rubygems

Version Path
mega_bar-0.5.2 app/views/kaminari/foundation5/_paginator.html.erb
mega_bar-0.5.1 app/views/kaminari/foundation5/_paginator.html.erb
lazy_boy-0.0.2 lib/generators/lazy_boy/templates/kaminari/_paginator.html.erb