<div class="modaLoader"></div>
<div class="row">
    <div class="col-md-12">
        <div class="form-group">
            <label>nom :</label>
            <input type="text" class="form-control" name="nom" placeholder="nom">
        </div>
        <div class="form-group tarifs">
            <button class="btn btn-xs btn-default pull-right glyphicon glyphicon-plus btnAddTarif"></button>
            <label>tarif :</label>
            <div class="tarif_template hide">
                <div class="input-group">
                    <span class="input-group-addon">groupe :</span>
                    <select class="form-control" name="groupe">
                        <option value="0" selected>tous</option>
                        {foreach from=$groupes item=g}
                        <option value="{$g.ref}">{$g.nom}</option>
                        {/foreach}
                    </select>
                    <span class="input-group-addon">prix :</span>
                    <input type="number" class="form-control" name="prix" placeholder="prix" ref="new" step="0.1" min="0.0">
                    <span class="input-group-addon">unité :</span>
                    <select class="form-control" name="unite">
                        <option value="kg" selected>kg</option>
                        <option value="pièce">pièce</option>
                        <option value="botte">botte</option>
                    </select>
                    <span class="input-group-addon">date :</span>
                    <input type="date" class="form-control" name="date" placeholder="date'">
                    <span class="input-group-btn"> <button class="btn btn-danger btnDel"><i class="glyphicon glyphicon-trash"></i></button> </span>
                </div>
            </div>
        </div>
    </div>
</div>