{% if form.errors %} {% for field,errors in form.errors.items %} {% endfor %} {% endif %}