{% if form.errors %}

There were some errors in the information you entered. Please correct the following:

{{ form.non_field_errors }}
{% endif %}