{% extends 'aristotle_mdr_api/base.html' %} {% block extra_head_scripts %} {{ block.super }} {% if key %} {% endif %} {% endblock %} {% block api_content %} {% if error %}

{{ error }}

{% endif %} {% if message %}

{{ message }}

{% endif %} {% if key %}

Success! Your API key is {{ key }}

Be sure to copy your new token. As you will not be able to view it again

{% endif %} {% if display_regenerate %}

This will generate a new key for this token. Invalidating the old one

Regenerate Token
{% endif %} {% if form %}
{% csrf_token %} {% for field in form %} {{ field.errors }}

{{ field.label }}

{{ field }} {% endfor %} Back
{% else %} Back {% endif %} {% endblock %}