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

{% block subtitle %}
{% trans 'Archival options' %} | {{ list.fqdn_listname }}
{% endblock %}

{% load nav_helpers %}

{% block main %}

    {% list_nav 'list_archival_options' 'Archivers' %}

    <form action="{% url 'list_archival_options' list.list_id %}" method="POST">
        {% csrf_token %}
        {% for choice in form.archivers %}
            <div class="checkbox">
                <label>
                    {{ choice }} {{ choice.label }}
                </label>
            </div>
        {% endfor %}
        <div class="form-group">
            <button class="btn btn-primary" type="submit">{% trans 'Save archivers' %}</button>
        </div>
    </form>

{% endblock %}
