Sha256: 4690c27291d550d87049e1671ebd684fb16b96e31f95ab0e406e60894dfb76c8
Contents?: true
Size: 496 Bytes
Versions: 2
Compression:
Stored size: 496 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
twitter_bootstrap_builder-0.0.8 | app/views/kaminari/twitter_bootstrap/_last_page.html.haml |
twitter_bootstrap_builder-0.0.7 | app/views/kaminari/twitter_bootstrap/_last_page.html.haml |