Sha256: aa6d60bdb004fe3d51f413e109a131984dac8911505ad960c795293032a019c4

Contents?: true

Size: 531 Bytes

Versions: 3

Compression:

Stored size: 531 Bytes

Contents

<%# Link to the "Previous" page
  - available local variables
    url:           url to the previous 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.first? %>
<li class="page-item">
  <%= link_to_unless current_page.first?, raw(t('views.pagination.previous')), url, rel: 'prev', class: 'page-link', data: { turbo: true }, remote: remote %>
</li>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
loggable_activity-0.5.7 app/views/loggable_activity/bootstrap/kaminari/_prev_page.html.erb
loggable_activity-0.5.6 app/views/loggable_activity/bootstrap/kaminari/_prev_page.html.erb
loggable_activity-0.5.4 app/views/loggable_activity/bootstrap/kaminari/_prev_page.html.erb