Sha256: e773b82d9847b890ce1ff04d82c1893b7e55b7ed5a69cee7128b5d1cd0887918

Contents?: true

Size: 626 Bytes

Versions: 12

Compression:

Stored size: 626 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
-%>
<% if current_page.first? -%>
  <span class="previous_page disabled">
    <%= render_icon("arrow-left-s") %>
  </span>
<% else -%>
  <%= link_to url, rel: 'prev', remote: remote, class: 'previous_page', title: Alchemy.t(:previous_page, scope: 'pagination') do %>
    <%= render_icon("arrow-left-s") %>
  <% end %>
<% end -%>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
alchemy_cms-7.3.4 app/views/kaminari/alchemy/_prev_page.html.erb
alchemy_cms-7.3.3 app/views/kaminari/alchemy/_prev_page.html.erb
alchemy_cms-7.3.2 app/views/kaminari/alchemy/_prev_page.html.erb
alchemy_cms-7.2.7 app/views/kaminari/alchemy/_prev_page.html.erb
alchemy_cms-7.3.1 app/views/kaminari/alchemy/_prev_page.html.erb
alchemy_cms-7.3.0 app/views/kaminari/alchemy/_prev_page.html.erb
alchemy_cms-7.2.6 app/views/kaminari/alchemy/_prev_page.html.erb
alchemy_cms-7.2.5 app/views/kaminari/alchemy/_prev_page.html.erb
alchemy_cms-7.2.4 app/views/kaminari/alchemy/_prev_page.html.erb
alchemy_cms-7.2.3 app/views/kaminari/alchemy/_prev_page.html.erb
alchemy_cms-7.2.2 app/views/kaminari/alchemy/_prev_page.html.erb
alchemy_cms-7.2.1 app/views/kaminari/alchemy/_prev_page.html.erb