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

{{ form.non_field_errors }}

{% endif %}
{% csrf_token %}
{{ form.avatar }} {% for error in form.avatar.errors %}

{{ error | escape }}

{% endfor %}
{{ form.name }} {% for error in form.name.errors %}

{{ error | escape }}

{% endfor %}
{{ form.summary }} {% for error in form.summary.errors %}

{{ error | escape }}

{% endfor %}
{{ form.email }} {% for error in form.email.errors %}

{{ error | escape }}

{% endfor %}
{% endblock %}