Sha256: 4784dd072104c7b5611a12264491d756256b64ad6ca8dd29e97d1f7172b43646

Contents?: true

Size: 457 Bytes

Versions: 8

Compression:

Stored size: 457 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="first">
  <%= link_to_unless current_page.first?, raw(t 'pagination.first'), url, :remote => remote %>
</li>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
storytime-2.1.6 app/views/kaminari/_first_page.html.erb
storytime-2.1.5 app/views/kaminari/_first_page.html.erb
storytime-2.1.4 app/views/kaminari/_first_page.html.erb
storytime-2.1.3 app/views/kaminari/_first_page.html.erb
storytime-2.1.2 app/views/kaminari/_first_page.html.erb
storytime-2.1.1 app/views/kaminari/_first_page.html.erb
storytime-2.1.0 app/views/kaminari/_first_page.html.erb
storytime-2.0.0 app/views/kaminari/_first_page.html.erb