Sha256: 9fb975ce05e708ca274fcd0634600df697d21fcad4d6b38b9400fe049402f1ac

Contents?: true

Size: 511 Bytes

Versions: 4

Compression:

Stored size: 511 Bytes

Contents

-#  Link showing page number
  - available local variables
    page:          a page object for "this" page
    url:           url to this 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 => "page#{' current' if page.current?}"}
  = link_to_unless page.current?, page, url, {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kaminari-0.12.2 app/views/kaminari/_page.html.haml
kaminari-0.12.1 app/views/kaminari/_page.html.haml
kaminari-0.12.0 app/views/kaminari/_page.html.haml
kaminari-0.11.0 app/views/kaminari/_page.html.haml