{% extends "administration/base.html" %} {% load i18n %} {% block page_title %}{{ action }}{% endblock %} {% block content %}
{% if edit_user %}
{% else %} {% endif %} {% csrf_token %} {{ user_form.as_p }}
{% if edit_user %}
{% csrf_token %} {{ password_form.as_p }}

{% trans "Note: if you change your password, your API key will also be changed to a new, randomly generated one." %}

{% endif %} {% if edit_user and edit_user.api_key %}

{{ edit_user.api_key.key }}

{% endif %}
{% endblock %}