{# TODO: this template is not jinja2 compatible and also it's ugly #} {% for choice in field.choice_tuples %} {# TODO: rendering field.input.attrs here seems bad.. we already render some of them manually so won't this create duplicates? #} {% if not forloop.last %}
{% endif %} {% endfor %}