{% extends 'base.html' %} {% load i18n %} {% load staticfiles %} {% block js %} {{block.super}} {% endblock %} {% block wrapper_classes %} wrapper-course-lesson {% endblock %} {% block body_attrs %} ng-app="profile" {% endblock %} {% block content %}
{% if user.is_staff or user.is_superuser %}
{%else %} {%endif %} {% csrf_token %}

Perfil

{% with errors=form.name.errors %}
{% for error in errors %}{{error}}{% endfor %}
{% endwith %}
{% with errors=form.occupation.errors %} {% endwith %} {% with errors=form.city.errors %} {% endwith %} {% with errors=form.site.errors %} {% endwith %} {% with errors=form.biography.errors %}
{% for error in errors %}{{error}}{% endfor %}
{% endwith %} {% with errors=form.phone_number.errors %}
{% for error in errors %}{{error}}{% endfor %}
{% endwith %}

Configurações da conta

{% with errors=form.username.errors %}
{% for error in errors %}{{error}}{% endfor %}
{% endwith %} {% with errors=form.email.errors %}
{% for error in errors %}{{error}}{% endfor %}
{% endwith %} {% with errors=form.password2.errors %}
{% for error in errors %}{{error}}{% endfor %}
{% endwith %}
{% endblock %}