views-exposed-form.html.twig
Theme override of a views exposed form.
Available variables:
- form: A render element representing the form.
See also
template_preprocess_views_exposed_form()
File
- 
              core/themes/ stable/ templates/ views/ views-exposed-form.html.twig 
View source
- {#
- /**
-  * @file
-  * Theme override of a views exposed form.
-  *
-  * Available variables:
-  * - form: A render element representing the form.
-  *
-  * @see template_preprocess_views_exposed_form()
-  */
- #}
- {% 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 }}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
