<div class="navbar navbar-default secondbar" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle"><span class="glyphicon glyphicon-filter"></span></button>
            <a class="navbar-brand brand">
                <img src="img/contrat.svg" class="hidden-xs">
                <span>{$list_limits.max} CONTRAT{if $list_limits.max>1}S{/if}</span>
            </a>
        </div>
        <div class="collapse navbar-collapse">
            <form class="navbar-form navbar-right" role="search" id="contratsSearch">
                <!-- GROUPE -->
                <div class="input-group"> 
                    <span class="input-group-addon{if $groupe>0} active{/if}">groupe :</span> 
                    <select class="form-control" name="groupe" load_value="{$groupe}" filtre_request="groupe">{include file='paniers_groupes/paniers_groupes_select_list.tpl'}</select> 
                </div>
                <!-- FREQUENCE -->
                <div class="input-group"> 
                    <span class="input-group-addon{if $frequence!="0"} active{/if}">fréq. :</span> 
                    <select class="form-control" name="frequence" load_value="{$frequence}" filtre_request="frequence">
                        <option value="0">choisir...</option>
                        <option value="hebdo">hebdo</option>
                        <option value="quinz">quinz.</option>
                        <option value="quinz_A">quinz. grp.A</option>
                        <option value="quinz_B">quinz. grp.B</option>
                    </select> 
                </div>
                <!-- PANIER -->
                <div class="input-group"> 
                    <span class="input-group-addon{if $panier>0} active{/if}">panier :</span> 
                    <select class="form-control" name="panier" load_value="{$panier}" filtre_request="panier">{include file='paniers/paniers_select_list.tpl'}</select> 
                </div>
                <!-- LIEU -->
                <div class="input-group"> 
                    <span class="input-group-addon{if $lieu>0} active{/if}">lieu :</span> 
                    <select class="form-control" name="lieu" load_value="{$lieu}" filtre_request="lieu">
                        {include file='contrats/lieux_select_list.tpl'}
                    </select> 
                </div>
                <!-- ARCHIVE -->
                <div class="input-group"> 
                    <span class="input-group-addon{if $archive!=0} active{/if}">archive :</span> 
                    <select class="form-control" name="archive" load_value="{$archive}" filtre_request="archive"> 
                        <option value="-1">tous</option>
                        <option value="0">non</option>
                        <option value="1">oui</option>
                    </select>
                </div>
                <!-- SEARCH -->
                <div class="input-group class searchGrp">
                    <span class="input-group-addon{if $search!=""} active{/if}"><i class="glyphicon glyphicon-search"></i></span>
                    <input type="text" class="form-control" placeholder="rechercher..." name="search" value="{$search}">
                    {if $search!=""}<span class="input-group-addon btn-danger btnClearSearch"><i class="glyphicon glyphicon-remove"></i></span>{/if}
                </div>
            </form>
        </div>
    </div>
</div>