<table class="table">
    <thead>
        <tr class="head">
            <th class="center">debut</th>
            <th class="center">fin</th>
            <th>remarque</th>
            <th style="width: 30px;"></th>
            <th style="width: 30px;"><button class="btn btn-xs btn-info glyphicon glyphicon-plus" id="btnAddAbsence"></button></th>
        </tr>
    </thead>
    <tbody>
        {foreach from=$infos.absences item=i}
        <tr class="absence" ref="{$i.ref}">
            <td class="debut">{$i.debut_print}</td>
            <td class="fin">{$i.fin_print}</td>
            <td class="remarque">{$i.remarque}</td>
            <td class="td_btn_action"><button class="btn btn-xs btn-link glyphicon glyphicon-edit btnEditAbsence" ref="{$i.ref}"></button></td>
            <td class="td_btn_action td_btn_delete"><button class="btn btn-xs btn-link glyphicon glyphicon-trash btnDeleteAbsence" ref="{$i.ref}" periode="{$i.periode}"></button></td>
        </tr>
        {foreachelse}
        <tr class="nullChild">
            <td colspan="5">aucune absence</td>
        </tr>
        {/foreach}
    </tbody>
    <tfoot class="hide">
        <tr class="absenceNewRowTemplate">
            <td class="debut"></td>
            <td class="fin"></td>
            <td class="remarque"></td>
            <td class="td_btn_action"><button class="btn btn-xs btn-link glyphicon glyphicon-edit btnEditAbsence" ref="new"></button></td>
            <td class="td_btn_action td_btn_delete"><button class="btn btn-xs btn-link glyphicon glyphicon-trash btnDeleteAbsence" ref="new" periode="new"></button></td>
        </tr>
    </tfoot>
</table>