Sha256: e2ff592cfc9593e01efb5d840c8dba2f46fd884b238a2e4b6fa466ee0bdfbf35

Contents?: true

Size: 539 Bytes

Versions: 23

Compression:

Stored size: 539 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
-%>
<span class="button prev <%= 'disabled' if current_page.first? %>">
  <%= link_to_unless(current_page.first?, raw('<span></span>'), url, :rel => 'prev', :remote => remote) do %>
    <%= link_to raw(tag(:span)), '#' %>
  <% end %>
</span>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
instedd-rails-0.0.3 app/views/kaminari/_prev_page.html.erb
instedd-rails-0.0.2 app/views/kaminari/_prev_page.html.erb
instedd-rails-0.0.1 app/views/kaminari/_prev_page.html.erb