Sha256: 2f5640529dcae1b6585e8bc09d5e7d8fe4da69db165923f856226087ce1895fe

Contents?: true

Size: 482 Bytes

Versions: 8

Compression:

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

Version data entries

8 entries across 8 versions & 1 rubygems

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