netbox/netbox/templates/users/token_edit.html

10 lines
342 B
HTML

{% 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 %}
{{ block.super }}
{% endblock %}