{% extends "sentry/teams/manage.html" %}

{% load crispy_forms_tags %}
{% load i18n %}

{% block title %}{% trans "Remove Team" %} | {{ block.super }}{% endblock %}

{% block breadcrumb %}
    {{ block.super }}
    <li class="divider"></li>
    <li><a href="{% url sentry-remove-team team.slug %}">{% trans "Remove Team" %}</a></li>
{% endblock %}

{% block main %}
    <section class="body">
        <form action="" method="post">
            <p>{% trans "Are you sure you wish to remove this team? This change is permanent!" %}</p>
            {% csrf_token %}
            {{ form|as_crispy_errors }}
            {% for field in form %}
                {% include "sentry/partial/_form_field.html" %}
            {% endfor %}
            <fieldset class="form-actions">
                <button type="submit" class="btn btn-danger">{% trans "Confirm" %}</button> <a href="{% url sentry-manage-team team.slug %}" class="btn">{% trans "Cancel" %}</a>
            </fieldset>
        </form>
    </section>
{% endblock %}
