Sha256: db3f3018eab7ae7212822499451c6935ebca4c5df22332ba8ce8539dbdbf2f01

Contents?: true

Size: 508 Bytes

Versions: 6

Compression:

Stored size: 508 Bytes

Contents

-# Link to the "Last" page
  - available local variables
    url:           url to the last 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 => 'last' + (current_page.last? ? ' active' : '')}
  - if current_page.last?
    %a= raw(t 'views.pagination.last')
  - else
    = link_to raw(t 'views.pagination.last'), url, {: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/_last_page.html.haml
twitter_bootstrap_builder-0.0.5 app/views/kaminari/twitter_bootstrap/_last_page.html.haml
twitter_bootstrap_builder-0.0.4 app/views/kaminari/twitter_bootstrap/_last_page.html.haml
twitter_bootstrap_builder-0.0.3 app/views/kaminari/twitter_bootstrap/_last_page.html.haml
twitter_bootstrap_builder-0.0.2 app/views/kaminari/twitter_bootstrap/_last_page.html.haml
scaffold_markup-0.0.1 app/views/kaminari/twitter_bootstrap/_last_page.html.haml