Sha256: ca23e693dcd0dedcbebe9be8b1b251788db2a6be4134fed3ea8d14cbd2bd2735

Contents?: true

Size: 477 Bytes

Versions: 22

Compression:

Stored size: 477 Bytes

Contents

<%# Link to the "Next" page
  - available local variables
    url:           url to the next page
    current_page:  a page object for the currently displayed page
    num_pages:     total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
-%>
<li class="page-item <%= ('disabled' if current_page.last?) %>">
  <%= link_to url, class: 'page-link', rel: 'next', remote: remote do %>
    <%= raw(t '.button') %>
  <% end %>
</li>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
headmin-0.1.2 app/views/headmin/kaminari/_next_page.html.erb
headmin-0.1.1 app/views/headmin/kaminari/_next_page.html.erb