Sha256: 416e779a9eb2f7e85be1a1f7e3f85d9dcb067e2378e1c3cc6db3c4738473ee68
Contents?: true
Size: 644 Bytes
Versions: 5
Compression:
Stored size: 644 Bytes
Contents
<div id="pagination"> <% previous_text = "← " + _("Previous") next_text = _("Next") + " →" %> <div class="left"> <% if @items.prev? %> <%= link_to raw(previous_text), params.merge(:page => @items.prev.number, :anchor => @options[:anchor]) %> <% else %> <span class="disabled"><%= raw(previous_text) %></span> <% end %> </div> <div class="right"> <% if @items.next? %> <%= link_to raw(next_text), params.merge(:page => @items.next.number, :anchor => @options[:anchor]) %> <% else %> <span class="disabled"><%= raw(next_text) %></span> <% end %> </div> </div>
Version data entries
5 entries across 5 versions & 1 rubygems