<div class="buttons">
    <a href="/admin/trainings" class="addbutton big">Vissza</a>
    <a href="/admin/export_trainings" class="addbutton add-big">Exportálás CSV-be</a>

</div>

<div class="outer export">
    <table class="user_export">
        <tr>
            <th>Azonosító</th>
            <th>Időpont</th>
            <th>Típus</th>
            <th>Időintervallum</th>
            <th>Edző</th>
            <th>Segédedző</th>
            <th>Létszám</th>
        </tr>
        {foreach $trainings as $training}
            <tr>
                <td>#{$training['id']}</td>
                <td>{$training['date']}</td>
                <td>{$training['name']}</td>
                <td>{$training['duration']}</td>
                <td>{$training['coaches']}</td>
                <td>{$training['helpers']}</td>
                <td>{$training['count']}</td>
            </tr>
        {/foreach}
    </table>
</div>
