{% set route = app.current_route %} {{ form_start(filter_form, { attr: { class: 'kt-form d-print-none row', autocomplete: 'off' }, action: path(route, app.request.attributes.get('_route_params')|default({})), method: 'GET' }) }}
{{ form_widget(filter_form.keywords, { attr: { class: 'form-control' } }) }}
{% if filter_form.ward is defined %}
{{ form_widget(filter_form.ward, { attr: { class: 'form-select' } }) }}
{% endif %} {% if filter_form.range is defined %}
{{ form_widget(filter_form.range, { attr: { class: 'form-control' } }) }}
{% endif %}
Reset Filters
{{ form_end(filter_form) }}