{% extends "postorius/base.html" %}
{% load i18n %}
{% load nav_helpers %}

{% block head_title %}
{% trans 'Unsubscribe all members' %} | {{ list.fqdn_listname }} - {{ block.super }}
{% endblock %}

{% block content %}

    {% list_nav 'mass_removal' 'msgid:title:list_mass_removal_confirm' %}

    <p>
    {% blocktrans with listname=list.fqdn_listname %}
        Are you sure you want to unsubscribe all members from {{ listname }}?
    {% endblocktrans %}
    </p>

    <form method="post" action="{% url 'unsubscribe_all' list.list_id %}">
        {% csrf_token %}
        <button class="btn btn-danger" type="submit" >{% trans 'Unsubscribe All' %}</button>
        <a class="btn btn-success" href="{% url 'mass_removal' list.list_id %}">{% trans 'Cancel' %}</a>
    </form>

{% endblock content %}
