{% extends 'generic/object_edit.html' %} {% load i18n %} {% block content %} {% if not request.user.is_superuser %} {% include 'inc/alerts/warning.html' with title="Creating API Tokens" message="Non-superusers should generally create and modify API tokens under their user profile." %} {% endif %} {% include 'users/inc/v1_token_warning.html' %} {{ block.super }} {% endblock %} {% block pre_form_fields %} {% if show_token_user %}