{% load otree %}

<table class="table">
    <thead class="thead-light">
    <tr>
        <th> Participant ID</th>
        <th> Participant Label</th>
        <th> Treatment name</th>
        <th> Jeu tire </th>
        <th> Jeu name</th>
        <th> Gain (Ecus) </th>
        <th> Gain (€) </th>
        <th> gain final (gain+bonus) (€) </th>


    </tr>
    </thead>
    <tbody>
        {% for row in report %}
            <tr>
                <td>{{ row.id }}</td>
                <td>{{ row.label }}</td>
                <td> {{row.treatmentname}}</td>
                <td>{{ row.jeu_tire }}</td>
                <td> {{row.jeuname}}</td>
                <td>{{ row.gainfinal }}</td>
                <td>{{ row.gaineur }}</td>
                <td>{{ row.gainfinaleur }}</td>


            </tr>
        {% endfor %}
    </tbody>
</table>

