Sha256: 8863dba5ddbc5605007e7a132062dfc063bf782b48fac3c26cf73cd5ff504e88

Contents?: true

Size: 498 Bytes

Versions: 2

Compression:

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

span class="prev #{ current_page.first? ? 'disabled' : '' }"
  = link_to_unless current_page.first?, I18n.t(:prev_page, scope: [:layout, :pagination]), url, rel: 'prev', class: 'button', remote: remote

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/views/kaminari/cabinet_default/_prev_page.html.slim
translation_cms-0.1.5 app/views/kaminari/table_pagination/_prev_page.html.slim