{foreach from=$list item=i}
    <tr>
        <td class="center visible-lg id">{$i.ref}</td>
        <td class="name"><a href="#" class="btnViewContratsType" ref={$i.ref}>{$i.nom}</a></td>
        <td class="visible-lg groupe">{$i.groupe_nom}</td>
        <td class="visible-md visible-lg center freq">{$i.frequence_print}</td>
        <td class="visible-md visible-lg center panier_type">{$i.panier_type_nom}</td>
        <td class="visible-md visible-lg center items_long">{$i.nb_paniers}</td>
        <td class="visible-md visible-lg center items_long">{$i.prix_total} €</td>
        <td class="td_btn_action"><button class="btn btn-xs btn-link glyphicon glyphicon-edit btnEditContratsType" ref="{$i.ref}"></button></td>
        <td class="td_btn_action td_btn_delete"><button class="btn btn-xs btn-link glyphicon glyphicon-trash btnDeleteContratsType" ref="{$i.ref}" nom="{$i.nom}"></button></td>
    </tr>
{foreachelse}
    <tr>
        <td colspan="9">aucun type de contrats</td>
    </tr>
{/foreach}