{% extends 'preferences_layout.html' %} {% block header %} Edit Profile {% endblock %} {% block panel %} {% if form.non_field_errors %}
{{ form.non_field_errors }}
{{ error | escape }}