{% for field in form %}
{{ field.label_tag }}:
{% if field.errors %}
{{ field }}
{% else %}
{{ field|safe }}
{% endif %}
{% endfor %}