Sha256: 35523b7f7292a0371a321905a34e0c7d785fd85aac052c8cbdcb5a8fe21720d0

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 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

6 entries across 6 versions & 2 rubygems

Version Path
twitter_bootstrap_builder-0.0.6 app/views/kaminari/twitter_bootstrap/_next_page.html.haml
twitter_bootstrap_builder-0.0.5 app/views/kaminari/twitter_bootstrap/_next_page.html.haml
twitter_bootstrap_builder-0.0.4 app/views/kaminari/twitter_bootstrap/_next_page.html.haml
twitter_bootstrap_builder-0.0.3 app/views/kaminari/twitter_bootstrap/_next_page.html.haml
twitter_bootstrap_builder-0.0.2 app/views/kaminari/twitter_bootstrap/_next_page.html.haml
scaffold_markup-0.0.1 app/views/kaminari/twitter_bootstrap/_next_page.html.haml