{% extends 'base.html' %} {% load icon_tags %} {% block content %} {% load crispy_forms_tags %}
{% if form.errors %} {% for field in form %} {% for error in field.errors %}
Field {{ field.name }}: {{ error|escape }}
{% endfor %} {% endfor %} {% for error in form.non_field_errors %}
{{ error|escape }}
{% endfor %} {% endif %}
{% crispy form form.helper %}
{% endblock content %}