{% extends "base.html" %} {% block title %} {% if token %} {{ _("Edit - %(name)s", name=token.name) }} {% else %} {{ _("Create API Token") }} {% endif %} {% endblock %} {% from "macros/forms.html" import render_field, render_submit_field, render_radio_field %} {% block content %} {% if token %}
{% endif %}

{{ self.title() }}

{{ _("Use carefully, as you may be held responsible for any damage caused by rogue scripts") }}
{% if token %}
{{ _("Access Token") }}

For security reasons, access tokens will only be shown once. Reset the token if it is lost.

{% if access_token %} {% endif %}
{% endif %}
{{ form.hidden_tag() }} {{ render_field(form.name, placeholder="Human readable") }} {{ render_field(form.package) }} {{ render_submit_field(form.submit) }}
{% endblock %}