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
thredded-1.1.0 app/views/thredded/kaminari/_page.html.erb
thredded-1.0.1 app/views/thredded/kaminari/_page.html.erb
thredded-1.0.0 app/views/thredded/kaminari/_page.html.erb
jeygeethanmedia-inkpen-1.2.6.2 app/views/kaminari/lines/_page.html.erb
jeygeethanmedia-inkpen-1.2.6.1 app/views/kaminari/lines/_page.html.erb
thredded-0.16.16 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.15 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.14 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.13 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.12 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.11 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.10 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.9 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.8 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.7 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.6 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.5 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.4 app/views/thredded/kaminari/_page.html.erb
thredded-0.16.3 app/views/thredded/kaminari/_page.html.erb
lines-engine-1.2.6.1 app/views/kaminari/lines/_page.html.erb