{% extends 'modal_base.html' %}
{% load i18n %}

{% block title %}
    {% trans 'Deactivation confirmation' %}
{% endblock %}

{% block body %}
<form action="{% url 'accounts:user-bulk-delete' %}" method="post">{% csrf_token %}
    <div class="modal-body">
        <p>
            {% blocktrans trimmed %}
                Are you sure you want to deactivate all selected users?
            {% endblocktrans %}
        </p>
        {% comment %}
            We don't use {{ form }} here because `UserBulkForm` would output all db
            users (a lot), and we don't want that. So the fields are generated dynamically
            in JS, see mtpuser_list.html, and appended to `div.fields`.
        {% endcomment %}
        <div class="fields"></div>
    </div>
    <div class="modal-footer clearfix">
        <button type="button" class="btn btn-default pull-left" data-dismiss="modal">{% trans 'Cancel' %}</button>
        <input class="btn btn-danger pull-right" type="submit" value="{% trans 'Confirm' %}" />
    </div>
</form>
{% endblock %}
