{% load i18n %} {% if form.errors or form.non_field_errors %}
{% trans "There were some errors with your form. Please amend the fields highlighted below." %}
{% if form.non_field_errors %} {% endif %}
{% endif %}