-if pages > 1 .row.text-center ul.pagination.no-margin style="vertical-align:middle" li.page-first a href="#" onclick="advance_search(#{url},0,#{format});" « -if offset > 0 li.page-pre a href="#" onclick="advance_search(#{url},#{offset - 1},#{format});" ‹ input.form-control.text-center name="offset" type="number" max="#{pages}" min="1" value="#{offset+1}" style="vertical-align:middle;display:inline-block;width:100px" ul.pagination.no-margin style="vertical-align:middle" -if offset < pages -1 li.page-next a href="#" onclick="advance_search(#{url},#{offset + 1},#{format});" › li.page-last a onclick="advance_search(#{url},#{pages-1},#{format});" »