{% extends "passerelle/manage/apiuser_list.html" %}
{% load i18n %}

{% block breadcrumb %}
  {{ block.super }}
  {% if object.id %}
    <a href="{{ object.get_absolute_url }}">{{ object.username }}</a>
  {% endif %}
{% endblock %}

{% block appbar %}
  <h2>{% trans 'API User' %} - {{ object.username }}</h2>
{% endblock %}

{% block content %}

  <form method="post">
    {% csrf_token %}
    <div class="buttons">
      <button class="delete-button">{% trans 'Delete' %}</button>
      <a href="{% url 'apiuser-list' %}" class="cancel">{% trans 'Cancel' %}</a>
    </div>
  </form>

{% endblock %}
