{% if repo %} {% extends "repo_master.html" %} {% else %} {% extends "master.html" %} {% endif %} {% from "_formhelper.html" import render_bootstrap_field %} {% set tag = "home" %} {% block title %}Create token{% endblock %} {% macro render_page() %}
Create a new token

From the list below, select one or more actions you want to authorize this token for.

After that, click 'Create' to generate a token with the selected permissions.

{% if repo %}
{% else %} {% endif %} {{ render_bootstrap_field( form.description, field_description="Small description of this API token") }} {{ render_bootstrap_field( form.expiration_date, field_description="Expiration date for this API token, maximum 2 year, format: YYYY-MM-DD") }}
{% for acl in acls %}
{% endfor %}
{% if repo %} Cancel {% else %} Cancel {% endif %} Toggle all {{ form.csrf_token }}
{% endmacro %} {% block content %} {{ render_page() }} {% endblock %} {% block repo %} {{ render_page() }} {% endblock %}