Sha256: 21dbabc2469ae230297575bcf133042a3053174663a85e3bc19a48aae2f021eb

Contents?: true

Size: 472 Bytes

Versions: 1

Compression:

Stored size: 472 Bytes

Contents

<%= paginator.render do %>
  <nav class="ui pagination menu">
    <%= first_page_tag unless current_page.first? %>
    <%= prev_page_tag unless current_page.first? %>
    <% each_page do |page| %>
      <% if page.display_tag? %>
        <%= 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? %>
  </nav>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_com-1.0.0 app/views/kaminari/_paginator.html.erb