{% extends "bda-attrib.html" %}

{% block extracontent %}

<h2>Attributions (détails)</h2>
<h3 class="horizontal-title">Token :</h3>
<pre>{{ token }}</pre>
<h3 class="horizontal-title">Placés : {{ total_slots }} ; Déçus : {{ total_losers }}</h3>
    
<table>
{% for member, shows in members2 %}
<tr>
    <td>{{ member.user.get_full_name }}</td>
    <td>{{ member.user.email }}</td>
    <td>Total: {{ member.total }}€</td>
    <td style="width: 120px;"></td>
</tr>
{% for show in shows %}
<tr>
    <td></td>
    <td></td>
    <td>{{ show }}</td>
    <td></td>
</tr>
{% endfor %}
{% endfor %}
</table>
{% endblock %}