{# il2ks-template: templates/il2ks/components/filter_bar.html v1 - copy this line along when you override #} {% load i18n %}{% comment %} filter_bar.html ({% filter_bar %}{% filter_select ... %}{% filter_text ... %}{% endfilter_bar %}). A GET form. With htmx it submits when a of the bar submits it: `change from:find select` bound the first select only (the second and third dropdowns, e.g. propulsion and aircraft on the leaderboards, did nothing until Apply, which JS hides), so the form catches the bubbling `change` of any select instead. Context: content, action (current path), sort (current ?sort=), has_filters, clear_href. {% endcomment %}
{% if sort %}{% endif %} {{ content }}
{% if has_filters %}{% translate "Clear filters" %}{% endif %}