{% extends "cosinnus/base.html" %}
{% load i18n bootstrap3 %}

{% block page_title %}
  {% blocktrans with team_name=object.name %}Delete team “{{ team_name }}”{% endblocktrans %}
{% endblock %}

{% block content %}
  <form action="" method="post" class="form-horizontal" role="form">
    {% csrf_token %}
    <div class="form-group">
      <div class="col-sm-10 col-sm-offset-2">
        {% trans "Are you sure you want to delete this team?" %}
      </div>
    </div>
    {% trans "Cancel" as reset_label %}
    {% url 'cosinnus:group-list' as reset_link %}
    {% buttons layout='horizontal' %}
      {% bootstrap_button submit_label button_type="submit" css_classes="btn-danger" %}
      {% bootstrap_button reset_label link=reset_link %}
    {% endbuttons %}
  </form>
{% endblock content %}
