Sha256: fb415671a118dfad491b0713688f5323a0244637411d89b1ede5859d7121117d
Contents?: true
Size: 646 Bytes
Versions: 3
Compression:
Stored size: 646 Bytes
Contents
<div id="pagination"> <% previous_text = "← " + _t("Previous") next_text = _t("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
3 entries across 3 versions & 1 rubygems