{% extends "@core/views/views-exposed-form.html.twig" %}

{% block form_form %}

  {{ attach_library('ui_patterns/jqautocomplete.jqautocomplete_lib') }}
  {{ attach_library('ui_patterns/tm_bits_tags.tm_bits_tags_lib') }}

  {% if form.field_of_type_target_id %}
    {{ form.field_of_type_target_id }}
  {% endif %}

  <div class="row">
    <div class="col-md-6">
      {{ form.combine }}
    </div>
    <div class="col-md-3">
      {{ form.actions.reset }}
    </div>
  </div>

  {% if filters_tabcordion %}
    {{ filters_tabcordion }}
  {% endif %}

  {# A hidden div of submits for tiggering. #}
  <div class="visually-hidden">
    {{ form.actions.submit }}
  </div>

  {# We must also print the rest of the form, for hidden vals etc. #}
  {{ form|without(
    'field_of_type_target_id',
    'combine',
    'actions'
  ) }}

{% endblock %}
