mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-22 03:44:57 +02:00
16 lines
No EOL
453 B
Twig
16 lines
No EOL
453 B
Twig
{% extends "main_card.html.twig" %}
|
|
|
|
{% block card_title %}Add API token{% endblock %}
|
|
|
|
{% block card_content %}
|
|
{# Show API secret after submit #}
|
|
|
|
{% if secret is not null %}
|
|
<div class="alert alert-success">
|
|
Your API token is: <strong>{{ secret }}</strong><br>
|
|
<span class="text-muted">Please save it. You wont be able to see it again!</span>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{{ form(form) }}
|
|
{% endblock %} |