views-exposed-form.html.twig in Zircon Profile 8
Same filename in this branch
Same filename and directory in other branches
Default theme implementation of a views exposed form.
Available variables:
- form: A render element representing the form.
See also
File
core/modules/views/templates/views-exposed-form.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation of a views exposed form.
- *
- * Available variables:
- * - form: A render element representing the form.
- *
- * @see template_preprocess_views_exposed_form()
- *
- * @ingroup themeable
- */
- #}
- {% if q is not empty %}
- {#
- This ensures that, if clean URLs are off, the 'q' is added first,
- as a hidden form element, so that it shows up first in the POST URL.
- #}
- {{ q }}
- {% endif %}
- {{ form }}