{% csrf_token %} {% for field in form %}
{% if forloop.first %}
{% if 0 %} {# TODO #} {% endif %}
{% endif %} {% if field.field.widget.input_type != 'text' %}
{{ field.label }}
{% endif %}
{{ field }}
{% if forloop.first %}
{% endif %}
{% endfor %}