{% extends postorius_base_template %}
{% load i18n %}

{% block subtitle %}
{% trans 'Confirm remove role' %} | {{ address }}
{% endblock %}

{% load nav_helpers %}

{% block main %}
    <div class="panel panel-default">
        <div class="panel-heading"><h1 class="panel-title">{% trans 'Confirm remove role' %}</h1></div>
        <div class="panel-body">
            <p>{% trans 'Are you sure?' %}</p>
            <form method="post" action="{% url 'remove_role' list_id role address %}">
                {% csrf_token %}
                <button class="btn btn-danger" type="submit">{% trans 'Remove' %} {{ address }}</button>
                <a class="btn btn-default" href="{% url 'list_members' list_id role %}">{% trans 'Cancel' %}</a>
            </form>
        </div>
    </div>

{% endblock main %}
