{foreach from=$list item=i}
    <tr>
        <td class="center visible-lg id">{$i.ref}</td>
        <td><a href="#" class="btnViewLegume" ref={$i.ref}>{$i.nom}</a></td>
        <td class="visible-md visible-lg tarif">{if $i.tarif_print}{$i.tarif_print}{else}.{/if}</td>
        <td class="visible-md visible-lg date">{$i.tarif_date_print}</td>
        <td class="td_btn_action"><button class="btn btn-xs btn-link glyphicon glyphicon-edit btnEditLegume" ref="{$i.ref}"></button></td>
        <td class="td_btn_action td_btn_delete"><button class="btn btn-xs btn-link glyphicon glyphicon-trash btnDeleteLegume" ref="{$i.ref}" nom="{$i.nom} {$i.prenom}"></button></td>
    </tr>
{foreachelse}
    <tr>
        <td colspan="6">aucun légume</td>
    </tr>
{/foreach}