Sha256: ab9da941aa5f8423622a17f9b124ced3d65771525192e9cbf25ba1b46a16cfa8

Contents?: true

Size: 546 Bytes

Versions: 7

Compression:

Stored size: 546 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
-#    total_pages:   total number of pages
-#    per_page:      number of items to fetch per page
-#    remote:        data-remote
%li{:class => "page#{' active' if page.current?}"}
  = link_to_unless page.current?, page, url, {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} do |name|
    %span= name

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bootstrap_pager-0.11.0 app/views/bootstrap_pager/_page.html.haml
bootstrap_pager-0.10.1 app/views/bootstrap_pager/_page.html.haml
bootstrap_pager-0.10.0 app/views/bootstrap_pager/_page.html.haml
bootstrap_pager-0.9.3 app/views/bootstrap_pager/_page.html.haml
bootstrap_pager-0.9.2 app/views/bootstrap_pager/_page.html.haml
bootstrap_pager-0.9.1 app/views/pager/_page.html.haml
bootstrap_pager-0.9.0 app/views/pager/_page.html.haml