Sha256: 5c6cb05816c6bdbbbd313e1b4dfbaf9bff6ef8f7c1c330dbe3f1bf3cf53f1639

Contents?: true

Size: 504 Bytes

Versions: 4

Compression:

Stored size: 504 Bytes

Contents

<%%# Link showing page number
  - available local variables
    page:          a page object for "this" page
    url:           url to this page
    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
-%>
<li class="page<%%= ' active' if page.current? %>">
  <%%= link_to page, url, {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %>
</li>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
humdrum-rails-0.1.3 lib/rails/generators/humdrum/layout/templates/views/bootstrap3/kaminari/_page.html.erb
humdrum-rails-0.1.2 lib/rails/generators/humdrum/layout/templates/views/bootstrap3/kaminari/_page.html.erb
humdrum-rails-0.1.1 lib/rails/generators/humdrum/layout/templates/views/bootstrap3/kaminari/_page.html.erb
humdrum-rails-0.0.9 lib/rails/generators/humdrum/layout/templates/views/bootstrap3/kaminari/_page.html.erb