Sha256: 7ba856b2035ca123d738c21b761fc165da6ccb3314534ecb4b12f9167341b9e5

Contents?: true

Size: 517 Bytes

Versions: 7

Compression:

Stored size: 517 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
-%>
<% unless current_page.last? %>
<li class="page-item">
  <%= link_to_unless current_page.last?, raw(t('views.pagination.next')), url, class: 'page-link', rel: 'next', data: { turbo: true }, remote: remote %>
</li>
<% end %>

Version data entries

7 entries across 4 versions & 1 rubygems

Version Path
loggable_activity-0.5.7 app/views/kaminari/pico/_next_page.html.erb
loggable_activity-0.5.7 app/views/loggable_activity/bootstrap/kaminari/_next_page.html.erb
loggable_activity-0.5.6 app/views/kaminari/pico/_next_page.html.erb
loggable_activity-0.5.6 app/views/loggable_activity/bootstrap/kaminari/_next_page.html.erb
loggable_activity-0.5.4 app/views/kaminari/pico/_next_page.html.erb
loggable_activity-0.5.4 app/views/loggable_activity/bootstrap/kaminari/_next_page.html.erb
loggable_activity-0.5.0 app/views/kaminari/kaminari-turbo-bootstrap/_next_page.html.erb