Sha256: 9eacd29173b2c888ec86f3be123eb654ce4a20ecf4c6addb43ca1a6f12fe562c
Contents?: true
Size: 1.47 KB
Versions: 7
Compression:
Stored size: 1.47 KB
Contents
<div class="elements-pagination"> <div class="elements-pagination__arrows elements-pagination__arrows--prev <%= @prev_disabled_class %>"> <a href="<%= generate_page_link(1) %>" <% if @args[:remote] %> data-remote="true" <% end %> > <i class="fa fa-angle-double-left" aria-hidden="true"></i> </a> <a href="<%= generate_page_link(@prev_page_number) %>" <% if @args[:remote] %> data-remote="true" <% end %> > <i class="fa fa-angle-left" aria-hidden="true"></i> </a> </div> <div class="elements-pagination__pages"> <% (@pages_range_init..@pages_range_end).each do |page_number| %> <a href="<%= generate_page_link(page_number) %>" class="<%= (@args[:current] === page_number) ? 'current' : '' %>" <% if @args[:remote] %> data-remote="true" <% end %> ><%= page_number %></a> <% end %> </div> <div class="elements-pagination__arrows elements-pagination__arrows--next <%= @next_disabled_class %>"> <a href="<%= generate_page_link(@next_page_number) %>" <% if @args[:remote] %> data-remote="true" <% end %> > <i class="fa fa-angle-right" aria-hidden="true"></i> </a> <a href="<%= generate_page_link(@args[:total]) %>" <% if @args[:remote] %> data-remote="true" <% end %> > <i class="fa fa-angle-double-right" aria-hidden="true"></i> </a> </div> </div>
Version data entries
7 entries across 7 versions & 1 rubygems