Start with default generated template
This commit is contained in:
21
templates/views/views-exposed-form.html.twig
Normal file
21
templates/views/views-exposed-form.html.twig
Normal file
@@ -0,0 +1,21 @@
|
||||
{#
|
||||
/**
|
||||
* @file
|
||||
* Theme override for 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 %}
|
||||
<div class="form--inline clearfix">
|
||||
{{ form }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user