Sha256: 5f9359b569d069bea85a376b0a0663600f00c256fcb7b6fafa1b4baeea20b484
Contents?: true
Size: 652 Bytes
Versions: 2
Compression:
Stored size: 652 Bytes
Contents
-# The container tag -# available local variables -# current_page: a page object for the currently displayed page -# total_pages: total number of pages -# per_page: number of items to fetch per page -# remote: data-remote -# paginator: the paginator that renders the pagination tags inside = paginator.render do .pagination %ul = prev_page_tag unless current_page.first? - each_page do |page| - if page.left_outer? || page.right_outer? || page.inside_window? = page_tag page - elsif !page.was_truncated? = gap_tag = next_page_tag unless current_page.last?
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wice_grid-3.2.0.pre3 | app/views/kaminari/wice_grid/_paginator.html.haml |
wice_grid-3.2.0.pre2 | app/views/kaminari/wice_grid/_paginator.html.haml |