<div class="demi-event__filterbox">
<div class="row">
<div class="col-md-6 col js-datepicker-range">
{% if not pimcore_checkbox('hide-datepicker-filter').isChecked() and not archive %}
{% do jsConfig().add('datepickerRange', true) %}
{{ include("@ElementsDemiFrontend/Events/filter/filter-parts/datepicker.html.twig", {
"dateString" : dateBegin,
"datepickerLabel" : "start",
"inputname" : "from",
"inputlabel" : 'demi.events.filter.label.from' | trans,
"styleModifier":"js-datepicker-range__from"
}) }}
{{ include("@ElementsDemiFrontend/Events/filter/filter-parts/datepicker.html.twig", {
"dateString" : dateEnd,
"datepickerLabel" : "end",
"inputname" : "to",
"inputlabel" : 'demi.events.filter.label.to' | trans,
"styleModifier":"js-datepicker-range__to"
}) }}
{% endif %}
{% if pimcore_checkbox('show-keyword-filter').isChecked() %}
{{ include("@ElementsDemiFrontend/Events/filter/filter-parts/keyword.html.twig", {
"labelText" : 'demi.events.filter.label.keyword' | trans,
"placeholder" : 'demi.events.filter.search-placeholder' | trans,
"styleModifier" : ""
}) }}
{% endif %}
</div>
<div class="col-md-6">
{% if pimcore_checkbox('show-category-filter').isChecked() %}
{{ include("@ElementsDemiFrontend/Events/filter/filter-parts/category-select.html.twig", {
"labelText" : 'demi.events.filter.label.category' | trans,
"placeholder" : 'demi.events.filter.placeholder.category'| trans,
"styleModifier" : ""
}) }}
{% endif %}
{% if false and pimcore_checkbox('show-category-filter').isChecked() %}
{{ include("@ElementsDemiFrontend/Events/filter/filter-parts/category-checkbox.html.twig", {
"labelText" : 'demi.events.filter.label.category' | trans,
"placeholder" : 'demi.events.filter.placeholder.category'| trans,
"styleModifier" : ""
}) }}
{% endif %}
{% if pimcore_checkbox('show-region-filter').isChecked() %}
{{ include("@ElementsDemiFrontend/Events/filter/filter-parts/region-select.html.twig", {
"labelText" : 'demi.events.filter.placeholder.regions' | trans,
"placeholder" : 'demi.events.filter.placeholder.region'| trans,
"styleModifier" : ""
}) }}
{% endif %}
{% if false and pimcore_checkbox('show-region-filter').isChecked() %}
{{ include("@ElementsDemiFrontend/Events/filter/filter-parts/region-checkbox.html.twig", {
"labelText" : 'demi.events.filter.placeholder.regions' | trans,
"placeholder" : 'demi.events.filter.placeholder.category'| trans,
"styleModifier" : ""
}) }}
{% endif %}
{% if pimcore_checkbox('show-holidaytheme-filter').isChecked() %}
{{ include("@ElementsDemiFrontend/Events/filter/filter-parts/holidaytheme-select.html.twig", {
"labelText" : 'demi.events.filter.placeholder.holidaythemes'| trans,
"placeholder" : 'demi.events.filter.placeholder.holidaytheme'| trans,
"styleModifier" : ""
}) }}
{% endif %}
{% if false and pimcore_checkbox('show-holidaytheme-filter').isChecked() %}
{{ include("@ElementsDemiFrontend/Events/filter/filter-parts/holidaytheme-checkbox.html.twig", {
"labelText" : 'demi.events.filter.placeholder.holidaythemes' | trans,
"placeholder" : 'demi.events.filter.placeholder.holidaytheme'| trans,
"styleModifier" : ""
}) }}
{% endif %}
{% if not pimcore_checkbox('hide-topevent-filter').isChecked() %}
{{ include("@ElementsDemiFrontend/Events/filter/filter-parts/topevents.html.twig", {
"checkboxText" : 'demi.events.filter.only-topevents' | trans,
"styleModifier" : ""
}) }}
{% endif %}
</div>
</div>
<div class="text-center">
{{ include("@ElementsDemiFrontend/Events/filter/filter-parts/filterbutton.html.twig", {
"buttonText" : 'demi.events.filter.button.show-result' | trans,
"styleModifier" : ""
}) }}
{{ include("@ElementsDemiFrontend/Events/filter/filter-parts/reset-filters.html.twig", {
"buttonText" : 'demi.events.filter.button.reset-filters' | trans,
"styleModifier" : ""
}) }}
</div>
</div>