{% load i18n phoxtail_core_tags phoxtail_design_tags %} {# A new token's fields, in the Create drawer and redrawn with their errors. #}

{% icon "vpn_key" %} {% translate "Details" %}

{% field "input" form.name show_label=True show_help_text=True %} {% field "textarea" form.description show_label=True show_help_text=True %}

{% icon "lock" %} {% translate "Access" %}

{% field "input" form.scopes show_label=True show_help_text=True %} {% field "input" form.expires_at show_label=True show_help_text=True %} {% field "checkbox" form.unrestricted show_help_text=True %}