Sha256: bc33724f1430e195a0c0fb7513bf5444d0326067a548e9dd1b89be05a984e134

Contents?: true

Size: 505 Bytes

Versions: 2

Compression:

Stored size: 505 Bytes

Contents

-# Link to the "First" page
  - available local variables
    url:           url to the first 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 => '.first' + (current_page.first? ? ' active' : '')}
  - if current_page.first?
    %a= raw(t 'views.pagination.first')
  - else
    = link_to raw(t 'views.pagination.first'), 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/_first_page.html.haml
twitter_bootstrap_builder-0.0.7 app/views/kaminari/twitter_bootstrap/_first_page.html.haml