{foreach from=$list item=i}
    <tr>
        <td class="center visible-lg id">{$i.ref}</td>
        <td class="name"><a href="#" class="btnViewClient" ref={$i.ref}>{$i.prenom} {$i.nom}</a></td>
        <td class="visible-md visible-lg tel">{if $i.tel}<a href="tel:{$i.tel}">{$i.tel}</a>{else}.{/if}</td>
        <td class="visible-md visible-lg email">{if $i.email}<a href="mailto:{$i.email}">{$i.email}</a>{else}.{/if}</td>
        <td class="td_btn_action"><button class="btn btn-xs btn-link glyphicon glyphicon-edit btnEditClient" ref="{$i.ref}"></button></td>
        <td class="td_btn_action td_btn_delete"><button class="btn btn-xs btn-link glyphicon glyphicon-trash btnDeleteClient" ref="{$i.ref}" nom="{$i.nom} {$i.prenom}"></button></td>
    </tr>
{foreachelse}
    <tr>
        <td colspan="6">aucun client</td>
    </tr>
{/foreach}