{% extends 'base.html' %} {% load i18n %} {% load staticfiles %} {% load compress %} {% block js %} {{block.super}} {% compress js %} {% endcompress %} {% endblock %} {% block body_attrs %} ng-app="profile" {% endblock %} {% block content %}
{% csrf_token %} {% if form.errors %}

Erro ao salvar os dados.

Por favor, confira os campos com mensagens em vermelho e tente novamente.

{% endif %}

Perfil

{% with errors=form.name.errors %} {% if form.name.value %} {% else %} {% endif %} {% for error in errors %}{{error}}{% endfor %} {% 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.cpf.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 %}

Grupos de Usuário

{% with errors=form.groups.errors %}
{{ form.groups }} {% for error in errors %}{{error}}{% endfor %}
{% endwith %}
{% endblock %}