Back to Netbox

Usertoken Edit

netbox/templates/account/usertoken_edit.html

4.6.5585 B
Original Source

{% extends 'generic/object_edit.html' %} {% load i18n %} {% block content %} {% include 'users/inc/v1_token_warning.html' %} {{ block.super }} {% endblock %} {% block javascript %} {{ block.super }} {% endblock javascript %} {% block buttons %} {# Omit the "Create & Add Another" button: that flow would redirect away from the detail page before the #} {# one-time plaintext can be displayed, leaving the new token unrecoverable. #} {% trans "Cancel" %} {% if object.pk %} {% trans "Save" %} {% else %} {% trans "Create" %} {% endif %} {% endblock buttons %}