rdrew
2 years ago
7 changed files with 162 additions and 9 deletions
@ -0,0 +1,36 @@ |
|||||||
|
{# |
||||||
|
/** |
||||||
|
* @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> |
@ -0,0 +1,36 @@ |
|||||||
|
{# |
||||||
|
/** |
||||||
|
* @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> |
Loading…
Reference in new issue