Sha256: b96fa48815e73a6e92df62fb8654f9e1b0cf0277a2fb0a485053af9edc3a8a35

Contents?: true

Size: 488 Bytes

Versions: 4

Compression:

Stored size: 488 Bytes

Contents

<%# Link to the "Last" page
  - available local variables
    url:           url to the last 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.last')), url, class: 'page-link', data: { turbo: true } %>
</li>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

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