{% extends "phoxtail_core/modal_drawer.html" %} {% comment %} The token just created, in place of the Create drawer: a dialog in the center, closed only by its buttons, so a stray click cannot lose the raw token, shown this once (the response carries no-store headers; it is never kept). Its one button copies the token and closes; a copy that fails leaves it open. The close button leaves without copying. {% endcomment %} {% load i18n phoxtail_core_tags phoxtail_design_tags %} {% block side %}center{% endblock %} {% block dismiss %}button{% endblock %} {% block title %}{{ token.name }}{% endblock %} {% block body %}

{% icon "warning" %} {% translate "Copy your token" %}

{% translate "You won't be able to see it again." %}

{% field "input" form.token copy=True show_label=True %}
{% endblock %} {% block footer %} {% endblock %}