{% comment %} Use the ErrorList class. It keeps custom error classes and the nonfield marker. {% endcomment %} {% if errors %}{% for error in errors %}{{ error }}{% if line_break %}
{% endif %}{% endfor %}
{% endif %}