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
okuribito_rails-0.2.4 app/views/okuribito_rails/kaminari/_page.html.erb
thredded-0.10.0 app/views/thredded/kaminari/_page.html.erb
thredded-0.9.4 app/views/thredded/kaminari/_page.html.erb
okuribito_rails-0.2.3 app/views/okuribito_rails/kaminari/_page.html.erb
okuribito_rails-0.2.2 app/views/okuribito_rails/kaminari/_page.html.erb
thredded-0.9.3 app/views/thredded/kaminari/_page.html.erb
thredded-0.9.2 app/views/thredded/kaminari/_page.html.erb
thredded-0.9.1 app/views/thredded/kaminari/_page.html.erb
thredded-0.8.4 app/views/thredded/kaminari/_page.html.erb
thredded-0.8.2 app/views/thredded/kaminari/_page.html.erb
lines-engine-1.2.1 app/views/kaminari/lines/_page.html.erb
lines-engine-1.2 app/views/kaminari/lines/_page.html.erb
thredded-0.7.0 app/views/thredded/kaminari/_page.html.erb
lines-engine-1.1.5.3 app/views/kaminari/lines/_page.html.erb
lines-engine-1.1.5.2 app/views/kaminari/lines/_page.html.erb
thredded-0.6.3 app/views/thredded/kaminari/_page.html.erb
thredded-0.6.2 app/views/thredded/kaminari/_page.html.erb
thredded-0.6.1 app/views/thredded/kaminari/_page.html.erb
lines-engine-1.1.5.1 app/views/kaminari/lines/_page.html.erb
lines-engine-1.1.5 app/views/kaminari/lines/_page.html.erb