{% extends "horizon/common/_modal_form.html" %} {% load i18n %} {% load url from future %} {% block form_id %}api_password_modal{% endblock %} {% block form_action %}{% url 'horizon:settings:apipassword:index' %}{% endblock %} {% block modal_id %}api_password_modal{% endblock %} {% block modal-header %}{% trans "API Password" %}{% endblock %} {% block modal-body %}
{% if password %} Your api password is: {{ password }}
Changing your password has invalidated your session.
You will be automatically logged out now, please log back in to continue.
{% else %} Please submit the form to generate a new API password. {% endif %}

{% trans "Information:" %}

{% trans "A new password will only be displayed once. You will have to generate a new one to see your password again." %}

{% endblock %} {% block modal-footer %} {% if hide %}{% trans "Cancel" %}{% endif %} {% endblock %}