Sha256: 69f087bb6b21f23888637d7e2ec7a0c9c991d6912be573e826c162fc1118c820

Contents?: true

Size: 434 Bytes

Versions: 8

Compression:

Stored size: 434 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
    total_pages:   total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
-%>

<% unless current_page.first? %>
  <%= link_to t('views.pagination.first').html_safe, url, class: 'first', :remote => remote %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
smart_table-0.0.8 ./app/views/kaminari/smart_table/_first_page.html.erb
smart_table-0.0.7 ./app/views/kaminari/smart_table/_first_page.html.erb
smart_table-0.0.6 ./app/views/kaminari/smart_table/_first_page.html.erb
smart_table-0.0.5 ./app/views/kaminari/smart_table/_first_page.html.erb
smart_table-0.0.4 ./app/views/kaminari/smart_table/_first_page.html.erb
smart_table-0.0.3 ./app/views/kaminari/smart_table/_first_page.html.erb
smart_table-0.0.2 ./app/views/kaminari/smart_table/_first_page.html.erb
smart_table-0.0.1 ./app/views/kaminari/smart_table/_first_page.html.erb