{% set menuActive = 'TOTO' %}
{% do setAriane(0, '' | trad, getRouteName()) %}

{% extends 'layout.twig' %}
{% block body %}
<section class="contenu">
    <h1>{{ 'Etats Statistiques' | trad }}</h1>

    <form class="tab-content" action="" method="POST">
        <h4>{{ etatstat.DESCRIPT }}</h4>

        {% if form_filter is not empty %}
        <section class="bg_form padding_form border_form form-default">
            <div class="bs-row">
            {% for input in form_filter %}
                <div class="bs-col-quarter">
                {{ formInput(input, post, input.label) }}
            {% endfor %}
            </div>
            <div class="bs-col-quarter ml-auto text-right">
                <button type="submit" class="button principal btn_filtre">
                    {{ 'Filtrer' | trad }}
                </button>
            </div>
        </section>
        {% endif %}

        {% embed '@EtatStatistiques/Tableau/_gestable.twig' with {
            table: gestable,
            post: post,
        } only %}
        {% endembed %}
    </form>
</section>
{% endblock %}


