% if constraints.present? %>
<%= t 'blacklight.advanced_search.form.search_context' %>
<%= constraints %>
<% end %>
<%= form_tag @url, method: @method, class: @classes.join(' '), role: 'search', 'aria-label' => t('blacklight.search.form.submit') do %>
<%= render_hash_as_hidden_fields(@params) %>
<%= content_tag :h2, t('blacklight.advanced_search.form.sort_label') %>
<% end %>