You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
967 B
37 lines
967 B
2 years ago
|
{#
|
||
|
/**
|
||
|
* @file
|
||
|
* Theme override for a views exposed form.
|
||
|
*
|
||
|
* Available variables:
|
||
|
* - form: A render element representing the form.
|
||
|
*
|
||
|
* @see template_preprocess_views_exposed_form()
|
||
|
*/
|
||
|
#}
|
||
|
|
||
|
|
||
|
<div class="accordion" id="accordionExample">
|
||
|
<div class="accordion-item">
|
||
|
<h2 class="accordion-header" id="headingOne">
|
||
|
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
|
||
|
Filter Results...
|
||
|
</button>
|
||
|
</h2>
|
||
|
<div id="collapseOne" class="accordion-collapse collapse " aria-labelledby="headingOne" data-bs-parent="#accordionExample">
|
||
|
<div class="accordion-body">
|
||
|
{% 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="row">
|
||
|
{{ form }}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|