Sha256: 35ce656f5d6f7c800a98f3afa23b3a042a55c20fdd7a49d4ccaa6c992d415075

Contents?: true

Size: 508 Bytes

Versions: 391

Compression:

Stored size: 508 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
    num_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, opts = {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %>
</li>

Version data entries

391 entries across 177 versions & 14 rubygems

Version Path
photos_manager-0.0.5 app/views/photos_manager/kaminari/_page.html.erb
photos_manager-0.0.4 app/views/photos_manager/kaminari/_page.html.erb
photos_manager-0.0.3 app/views/photos_manager/kaminari/_page.html.erb
photos_manager-0.0.2 app/views/photos_manager/kaminari/_page.html.erb
twitter_bootstrap-kaminari-views-0.1.0 app/views/kaminari/_page.html.erb
iqvoc-4.0.2 app/views/kaminari/_page.html.erb
railstrap-0.0.1 lib/generators/railstrap/kaminari/templates/_page.html.erb
iqvoc-4.0.1 app/views/kaminari/_page.html.erb
iqvoc-4.0.0 app/views/kaminari/_page.html.erb
bootstrap-kaminari-views-0.0.2 app/views/kaminari/twitter-bootstrap/_page.html.erb
bootstrap-kaminari-views-0.0.1 app/views/kaminari/twitter-bootstrap/_page.html.erb