Sha256: 53dd6f04672fa2f5f78cfef81a444f343b90e97579ccbfae54c590d3dd88f6a2

Contents?: true

Size: 528 Bytes

Versions: 170

Compression:

Stored size: 528 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
-%>
<span class="page<%= ' current' if page.current? %>">
  <%= link_to_unless page.current?, page, url, {:remote => remote, :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil} %>
</span>

Version data entries

170 entries across 168 versions & 19 rubygems

Version Path
activeadministration-0.0.2 app/views/kaminari/active_admin/_page.html.erb
active_administration-0.0.2 app/views/kaminari/active_admin/_page.html.erb
activeadministration-0.0.1 app/views/kaminari/active_admin/_page.html.erb
active_administration-0.0.1 app/views/kaminari/active_admin/_page.html.erb
kaminari-0.15.1 app/views/kaminari/_page.html.erb
kaminari-0.15.0 app/views/kaminari/_page.html.erb
kaminari-rails4-0.15.0 app/views/kaminari/_page.html.erb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/kaminari-0.14.1/app/views/kaminari/_page.html.erb
kaminari-0.14.1 app/views/kaminari/_page.html.erb
kaminari-0.14.0 app/views/kaminari/_page.html.erb