{% extends "base.html" %} {% load i18n extra_filters %} {% load crispy_forms_tags %} {% block content %}
{% if manage_user_form.instance.locked and user.account_type == 'administrator' %}

{% trans 'Account locked' %}

{% endif %}
{% csrf_token %} {{ manage_user_form|crispy }} {% if manage_user_form.fields.email.disabled and not messages %}

{% trans 'Email change waiting for validation' %}

{% endif %} {% if saved and not messages %}

{% trans 'Change applied' %}

{% endif %} {% if messages %}
{% for message in messages %}

{{ message }}

{% endfor %}
{% endif %}
{% if not manage_user_form.instance.locked and user.account_type == 'administrator' %}
{% endif %}
{% if not manage_user_form.instance.locked and user.account_type == 'administrator' %} {% endif %}
{% include 'login.html' %}
{% endblock %}