Sha256: 51f41599136e86e1b892c0ea4896b7da80c5b685a7a605fd86a05c3dddcc4f71

Contents?: true

Size: 511 Bytes

Versions: 2

Compression:

Stored size: 511 Bytes

Contents

-# Link to the "Next" page
  - available local variables
    url:           url to the next 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 => 'next' + (current_page.last? ? ' active' : '')}
  - if current_page.last?
    %a= raw(t 'views.pagination.next')
  - else
    = link_to raw(t 'views.pagination.next'), url, :rel => 'next', :remote => remote

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
twitter_bootstrap_builder-0.0.8 app/views/kaminari/twitter_bootstrap/_next_page.html.haml
twitter_bootstrap_builder-0.0.7 app/views/kaminari/twitter_bootstrap/_next_page.html.haml