{% comment %} Override of crispy_tailwind's own copy: it writes {% for group, options, index in field|optgroups %} {% if group %}{% endif %} {% for option in options %} {% include "tailwind/layout/select_option.html" %} {% endfor %} {% if group %}{% endif %} {% endfor %} {% if not field.field.widget.allow_multiple_selected %}
{% endif %} {% endif %}