{% extends "bds/base.html" %}


{% block content %}

<h1 class="title">Liste des adhésions expirées</h1>

{% if object_list %}
<div class="content">
    <ul>
        {% for p in object_list %}
        <li>{{ p.user.first_name }} {{ p.user.last_name }} ({{ p.user.username }}), {{ p.get_cotisation_period_display }}</li>
        {% endfor %}
    </ul>
</div>

<div class="buttons is-centered">
  <a class="button is-danger" href="{% url 'bds:members.reset' %}">Réinitialiser les adhésions expirées</a>
</div>
{% endif %}

{% endblock %}
