{# Filter bar fragment — pure Tailwind, same HTMX wiring and filter logic #} {% set tbody_target = '#' + (table.table_id or 'dt-table') + '-body' %}
{% for col in table.columns %} {% if col.filterable %}
{% if col.filter_type == "select" and col.filter_ref_entity %} {# Ref/belongs_to filter: select with dynamically loaded options #} {% elif col.filter_type == "select" %} {# Enum/static select filter #} {% else %} {# Text filter #} {% endif %}
{% endif %} {% endfor %}