{% import "macros/alerts.html" as alerts %} {% import "macros/buttons.html" as buttons %} {% import "macros/modal.html" as modal %} {% extends layout %} {% block head_title_content %}{{ client.name }} ยท {{ super() }}{% endblock %} {% set open_modal = true %} {% block modal %} {% call modal.body() %} {% call alerts.warning() %} The key below will be shown only once. Make sure to copy it and store it somewhere safe. {% endcall %}
{{ buttons.clipboard(key | tojson | trim | forceescape) }}
{{ key | tojson(indent=4) | trim }}
{% endcall %} {% call modal.footer() %} {% endcall %} {% endblock %}