{% extends "office/base_headline.html" %} {% load bootstrap4 %} {% load i18n %} {% block headline %}{% trans "User" %} {% if user.last_name %}{{user.last_name}} ({{user.username}}){% else %}{{user.username}}{% endif %} {% if not user.has_usable_password %} {% trans "Password disabled" %} {% endif %} {% endblock %} {% block content %}
{% csrf_token %} {% bootstrap_form form layout='horizontal' %}
{% if user.pk != request.user.pk %}
{% if user.has_usable_password %}
{% csrf_token %}
{% else %}

{% trans "This user's password is disabled. Set a new password above to re-enable password login." %}

{% endif %} {% endif %} {% endblock %}