Sha256: 0354ea570e3e36198a5bc4d5d12b101f4bec6297a1ab6cbbbe6d2dd7c241216f

Contents?: true

Size: 653 Bytes

Versions: 22

Compression:

Stored size: 653 Bytes

Contents

<% if @list.page_count > 1 %>
  <ul class="pagination">
    <% if @list.prev_page %>
      <li class="arrow"><a href="<%= request.path %>?page=<%= @list.prev_page %>">&laquo; Previous</a></li>
    <% else %>
      <li class="arrow unavailable"><a disabled>&laquo; Previous</a></li>
    <% end %>
    <li class="unavailable"><a disabled>Page <%= @list.current_page %> of <%= @list.page_count %></a></li>
    <% if @list.next_page %>
      <li class="arrow"><a href="<%= request.path %>?page=<%= @list.next_page %>">Next &raquo;</a></li>
    <% else %>
      <li class="arrow unavailable"><a disabled>Next &raquo;</a></li>
    <% end %>
  </ul>
<% end %>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
que-web-0.2.1 web/views/_pager.erb
que-web-0.2.0 web/views/_pager.erb