{% load widget_tweaks %}
{% for field in filter.form %}
{% if 'choice' or 'boolean' in field|field_type %} {{ field|add_class:"custom-select custom-select-sm" }} {% else %} {{ field|add_class:"form-control form-control-sm" }} {% endif %}
{% endfor %}
Reset