{% extends "../base.html" %}
{% load crispy_forms_tags i18n %}
{% block extratitle %}{% translate "Deleting" %} {{ group.name }} - {% endblock %}

{% block content %}
  <nav aria-label="breadcrumb">
    <ol class="breadcrumb">
      <li class="breadcrumb-item"><a href="{% url 'quotes:group_list' %}">{% translate "Groups" %}</a></li>
      <li class="breadcrumb-item"><a href="{% url 'quotes:group_detail' group=group.slug %}">{{ group.name }}</a></li>
      <li class="breadcrumb-item active" aria-current="page">{% translate "Delete" %}</li>
    </ol>
  </nav>
  <h1>{% translate "Deleting" %} {{ group.name }}</h1>
  <p><strong>{% translate "Are you sure you want to delete:" %}</strong> {{ group.name }}?</p>
  <form method="post">{% csrf_token %}
    <button type="submit" class="btn btn-danger">{% translate "Delete" %}</button> <a href="{% url 'quotes:group_detail' group=group.slug %}" class="btn btn-secondary">{% translate "Go back" %}</a>
  </form>
{% endblock content %}
