Sha256: 898bf978d5ecd014f1bbb6e4491a163d12476818069c507a41f72eeead8eae84

Contents?: true

Size: 575 Bytes

Versions: 3

Compression:

Stored size: 575 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',
                     :remote => remote %>
</li>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
denki-0.0.4 app/views/kaminari/bs5/_first_page.html.erb
denki-0.0.3 app/views/kaminari/bs5/_first_page.html.erb
denki-0.0.1 app/views/kaminari/bs5/_first_page.html.erb