{% extends "rest_framework/base.html" %} {% load auth_tags %} {% load static %} {% block style %} {{ block.super }} {% endblock %} {% block title %} {% if name %}{{ name }}{% else %}REST API{% endif %} {% endblock %} {% block branding %} FAIR data registration and management system REST API {% endblock %} {% block userlinks %} {% if remote_registry %} {% if user.is_authenticated %} Logged in as: {{ user.username }} logout {% else %} {% is_auth_method "GitHub" as is_github %} {% if is_github %} Login / Signup with GitHub {% endif %} {% is_auth_method "GitLab" as is_gitlab %} {% if is_gitlab %} Login / Signup with GitLab {% endif %} {% endif %} {% endif %} {% endblock %} {% block breadcrumbs %} {{ block.super }} {% if user.is_authenticated %}
Click here to create a new token for accessing the REST API or click here to revoke an existing token.
{% endif %} {% endblock %}