{% extends "admin_app.html" %} {% from "library.j2" import box, form_button, standard_button %} {% block content %}

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

{{ form.csrf_token }}

{% trans %}Edit user{% endtrans %}

{{ form.localpart.label }} {{ form.localpart(readonly="readonly") }}

{% trans %}The login name cannot be changed.{% endtrans %}

{{ form.display_name.label }} {{ form.display_name }}
{%- call standard_button("back", url_for(".users"), class="tertiary") -%} {%- trans -%}Return to user list{%- endtrans -%} {%- endcall -%} {%- call standard_button("delete", url_for(".delete_user", localpart=target_user.localpart), class="secondary") -%} {%- trans -%}Delete user{%- endtrans -%} {%- endcall -%} {%- call form_button("done", form.action_save, class="primary") %}{% endcall -%}

{% trans %}Further actions{% endtrans %}

{% trans %}Reset password{% endtrans %}

{{ form.csrf_token }}

{% trans %}If the user has lost their password, you can use the button below to create a special link which allows to change the password of the account, once.{% endtrans %}

{%- call form_button("passwd", form.action_create_reset, class="primary") -%}{%- endcall -%}

{% trans %}Debug information{% endtrans %}

{% trans %}In some cases, extended information about the user account and the connected devices is necessary to troubleshoot issues. The button below reveals this (sensitive) information.{% endtrans %}

{%- call standard_button("bug_report", url_for(".debug_user", localpart=target_user.localpart), class="primary") -%} {%- trans -%}Show debug information{%- endtrans -%} {%- endcall -%}
{% endblock %}