Sha256: 24a36206ebf0f0dd4a0b8bb73c4ba181c9564038552a21926189c4db2618589c

Contents?: true

Size: 491 Bytes

Versions: 6

Compression:

Stored size: 491 Bytes

Contents

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

Version data entries

6 entries across 3 versions & 1 rubygems

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