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? ? "&larr;".html_safe : paginator.link(1, {}, "&larr;") %>
	</li>
	<li class='prev'>
		<%= paginator.first? ? "&laquo; Previous".html_safe : paginator.link(paginator.previous, {}, "&laquo; 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 &raquo;".html_safe : paginator.link(paginator.next, {}, "Next &raquo;".html_safe) %>
	</li>
	<li class='last'>
		<%= paginator.last? ? "&rarr;".html_safe : paginator.link(paginator.total_pages, {}, "&rarr;") %>
	</li>
</ol>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
facades-0.1.0 app/views/facades/_pagination.html.erb
facades-0.0.7 app/views/facades/_pagination.html.erb
facades-0.0.6 app/views/facades/_pagination.html.erb
facades-0.0.5 app/views/facades/_pagination.html.erb
facades-0.0.4 app/views/facades/_pagination.html.erb
facades-0.0.3 app/views/facades/_pagination.html.erb