Sha256: cfc44b3aa77605312cc6c7c823c557ce6a7580e5e5dce6421bfdc4f740868bba

Contents?: true

Size: 515 Bytes

Versions: 2

Compression:

Stored size: 515 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.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? %>
  </nav>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mega_bar-0.5.2 app/views/kaminari/semantic_ui/_paginator.html.erb
mega_bar-0.5.1 app/views/kaminari/semantic_ui/_paginator.html.erb