Sha256: 57c4b7daa859f6dd06bdabc46adafb3b7fe368a3b07cdf5e0867fbe7a49e55e1

Contents?: true

Size: 493 Bytes

Versions: 5

Compression:

Stored size: 493 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
%li{:class => "#{'active' if page.current?}"}
  = link_to page, url, {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
app_frame-0.6.1 app/views/kaminari/app_frame/_page.html.haml
app_frame-0.5.8 app/views/kaminari/app_frame/_page.html.haml
app_frame-0.5.7 app/views/kaminari/app_frame/_page.html.haml
app_frame-0.5.6 app/views/kaminari/app_frame/_page.html.haml
app_frame-0.5.5 app/views/kaminari/app_frame/_page.html.haml