    <div>
        <div class="clearfix">
            <div class="colonne2">
                <div class="row">
                    {{ inputAdvance('TEXT', {
                        'name' : 'LIB_FAV',
                        'titre' : 'Libellé de la recherche' |trad,
                        'pathValidator' : path('Ajax.validator.isStringAvecEspace'),
                        'paramsValidator' : "{'sizeMin' : 0, 'sizeMax' : 255}",
                    }) }}
                </div>
            </div>
            <div class="colonne2 last">
                <button type="button" class="principal" onClick="addRequeteFavoris(this,'{{ path('Suivi.Suivi.addRequete', {module:module}) }}')">{{ 'Enregistrer la recherche' | trad}}</button>
            </div>
        </div>

        <h4>{{ 'Liste des recherches favorites' | trad }}</h4>
        <table class="table table-hover">
            <thead class="thead-dark">
                <tr>
                    <th scope="col">{{ 'Compteur' | trad }}</th>
                    <th scope="col">{{ 'Libellé recherche' | trad }}</th>
                    <th scope="col">{{ 'Création' | trad }}</th>
                    <th scope="col">{{ 'Dernière modif.' | trad }}</th>
                    <th scope="col" width="100px">{{ 'Suppression' | trad }}</th>
                </tr>
            </thead>
            {% for requete in listeRequete %}
                <tr id="{{requete.ID_REQUETE}}">
                    <td>{{ strBuild('Exécutée : @1@ fois' |trad, {1:requete.COMPTEUR}) }}</td>
                    <td style="cursor:pointer;" onClick="$('#postJson').val('{{ requete.VALEUR }}');$('#idRequete').val('{{ requete.ID_REQUETE }}');this.closest('form').submit();">{{ requete.LIBELLE }}</td>
                    <td>{{ requete.DATE_CREA |dateTrad }}</td>
                    <td>{{ requete.DATE_MODIF |dateTrad }}</td>
                    <td>
                        {{ hover_action(requete.ID_REQUETE, 'Supprimer_v2' , "
                            popupConfirmation(\'"~path('Ajax.Erreur.popupConfirmationSuppresion')~"\', 
                                \'\', 
                                \'"~path('Suivi.Suivi.deleteRequete', {idRequete: requete.ID_REQUETE})~"\', 
                                \'"~('Confirmez vous la suppression de la recherche favorite ?' | trad |e('js')|raw)~"\', 
                                \'favoris\', '', '', '', 'filtre_suivi', '', \'"~('Suppression de la recherche favorite' | trad |e('js')|raw)~"\')", 
                            'float: right;margin-right:5px;') }}
                    </td>
                </tr>
            {% endfor %}
        </table>
    </div>
    
    <input type="hidden" id="postJson" name="postJson"/>
    <input type="hidden" id="idRequete" name="idRequete"/>

    <script>
        function addRequeteFavoris(bouton, path)
        {
            var form = bouton.closest('form');
            activeLoader();
            $.ajax({
                url : path ,
                type: 'POST',
                data: $(form).serialize(),
                success: function (data) {            
                    desactiveLoader();
                    $("#modal-content").addClass("modal_small");
                    $("#modal-body").html(data);
                    $("#modal-title").html('{{ 'Erreur validation' | trad }}');
                    activePopup();
                },
                error: function (data){
                    refrechDiv(window.location.pathname, 'favoris', 'filtre_suivi');
                }
            });
        }
    </script>