Sha256: f12089e3dc23f29e3b9f8c94b11770196239190c1d3cc2df8ab4c6799d145cd4
Contents?: true
Size: 847 Bytes
Versions: 6
Compression:
Stored size: 847 Bytes
Contents
<p class='pagination-detail'>Viewing Page <%= paginator.current_page %> of <%= paginator.total_pages %></p> <ol class='pagination-links'> <li class='first'> <%= paginator.first? ? "←".html_safe : paginator.link(1, {}, "←") %> </li> <li class='prev'> <%= paginator.first? ? "« Previous".html_safe : paginator.link(paginator.previous, {}, "« Previous".html_safe) %> </li> <% paginator.links.each do |link| %> <li<%= link.current? ? " class='current'" : "" %>> <%= link.current? ? link.number : paginator.link(link.number) %> </li> <% end %> <li class='next'> <%= paginator.last? ? "Next »".html_safe : paginator.link(paginator.next, {}, "Next »".html_safe) %> </li> <li class='last'> <%= paginator.last? ? "→".html_safe : paginator.link(paginator.total_pages, {}, "→") %> </li> </ol>
Version data entries
6 entries across 6 versions & 1 rubygems