{% extends "admin_app.html" %} {% block content %}

{% trans user_name=target_user.localpart %}Edit user {{ user_name }}{% endtrans %}

{% trans %}User information{% endtrans %}

{{ form.csrf_token }}
{{ form.username.label }} {{ form.username(readonly="readonly") }}
{{ form.nickname.label }} {{ form.nickname(readonly="readonly") }}
{{ form.email.label }} {{ form.email(readonly="readonly") }}
{{ form.phone.label }} {{ form.phone(readonly="readonly") }}
{{ form.action_save(class="primary") }}

{% trans %}Password reset{% endtrans %}

{% trans %}If the user has forgotten their password, use the below button to create a password reset link. The password reset link can be used once to change the password of the account. Transmit the link to the user via a secure channel.{% endtrans %}

{{ form.action_create_reset_link(class="secondary accent") }}

{% trans %}Delete user{% endtrans %}

{% trans %}{% endtrans %}

{{ form.action_create_reset_link(class="secondary accent") }}
{% endblock %}