tosubmit="">
      <input type="hidden" name="q" value="${q}">
      <input type="hidden" name="kind" value="${kind}">
      <input type="hidden" id="type_value" name="language" value="${language}">
      <input type="hidden" id="type_value" name="state" value="${state}">
      <input type="hidden" id="type_value" name="doctype" value="${doctype}">
      <span class="sort-label">Sort:</span>
      <select name="s">
        <option value="">Best match</option>
        %for value, (name, data) in orders.iteri