Sha256: 4bfdbf61baef9daab3706637076d59e2d69ac0c6fa648beeb7faf7b26ecb075d

Contents?: true

Size: 805 Bytes

Versions: 95

Compression:

Stored size: 805 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? %>
    <li class="page-item disabled">
      <%= link_to raw(t 'views.pagination.previous'), '#', :rel => 'prev', :onclick=>'return false;', class: 'page-link', aria: { label: t('views.pagination.aria.go_to_previous_page') } %>
    </li>
<% else %>
    <li class="page-item">
      <%= link_to raw(t 'views.pagination.previous'), url, :rel => 'prev', :remote => remote, class: 'page-link', aria: { label: t('views.pagination.aria.go_to_previous_page') } %>
    </li>
<% end %>

Version data entries

95 entries across 94 versions & 2 rubygems

Version Path
blacklight-7.34.0 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-8.0.1 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-8.0.0 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-8.0.0.beta8 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-8.0.0.beta7 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-8.0.0.beta6 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-8.0.0.beta5 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-7.33.1 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-8.0.0.beta4 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-8.0.0.beta3 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-8.0.0.beta2 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-8.0.0.beta1 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-7.33.0 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-7.32.0 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-7.31.0 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-7.30.0 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-7.29.0 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-7.28.0 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-7.27.1 app/views/kaminari/blacklight/_prev_page.html.erb
blacklight-7.27.0 app/views/kaminari/blacklight/_prev_page.html.erb