<%- include('../../template_parts/head')%>

<body>

    <!-- ---------------------------------- -->
    <!-- HEADER -->
    <!-- ---------------------------------- -->
    <%- include('../../template_parts/header_tunnel')%>

    <main>

        <!-- ---------------------------------- -->
        <!-- TITRE DE LA PAGE -->
        <!-- ---------------------------------- -->
        <%- include('../template_parts/concert_titrepage')%>

        
        <article class="maj_manuelle">

            <!-- ---------------------------------- -->
            <!-- Ajout manuel de participant -->
            <!-- ---------------------------------- -->
            <section>
                <!-- AFFICHAGE DES MESSAGES ERREURS RETOUR DE POST FORMULAIRE -->
                <% if (locals.err_mail_form_adhesion_1) { %>
                    <div class="erreur">
                    <p><%- err_mail_form_adhesion_1 %></p>
                    <p><%- err_mail_form_adhesion_2 %></p>
                    <p><%- err_mail_form_adhesion_3 %></p>
                    </div>
                <% }; %>

                

                <!-- ---------------------------------- -->
                <!-- FORMULAIRE de vérification de l'identifiant -->
                <!-- ---------------------------------- -->

                <form action="" method="post" class="form_check_mail">
                    
                    <div class="input_box input_email input_identifiant">
                    <label for="identifiant">IDENTIFIANT adhérent</label>
                    <input class="inputbox_identifiant" type="text" name="identifiant" id="identifiant" placeholder="Identifiant SUZUKI" value="">
                    </div>

                    <div class="input_checkbox">
                    <div class="input_checkbox">
                        <input type="checkbox" name="check_nonadherent" id="check_nonadherent">
                        <label for="check_nonadherent">Je ne suis pas adhérent à la Pédagogie Suzuki</label>
                    </div>
                    </div>
                    

                    <!-- ---------------------------------- -->
                    <!-- CLIQUEZ SUR BOUTON ADHÉRER -->
                    <!-- ---------------------------------- -->

                    <button type="submit" class="button_icone">
                    <span class="btn_icone">+</span><span class="btn_texte">S'INSCRIRE</span>
                    </button>

                </form>
            </section>

        </article>

        <aside>
            <h1>NOMBRE DE PLACES RÉSERVÉES : </h1>
            <ul>
                <% if (typeof results_count_spectateurs != "undefined") {for(const key in results_count_spectateurs) { %>
                    <li><%= key %>: <%= results_count_spectateurs[key] %></li>
                <% }} %>
                <% if (typeof results_count_encadrant_prof != "undefined") {for(const key in results_count_encadrant_prof) { %>
                    <li><%= key %>: <%= results_count_encadrant_prof[key] %></li>
                <% }} %>
                <% if (typeof results_count_encadrant_parent != "undefined") {for(const key in results_count_encadrant_parent) { %>
                    <li><%= key %>: <%= results_count_encadrant_parent[key] %></li>
                <% }} %>
                <% if (typeof results_count_instruments != "undefined") {for(const key in results_count_instruments) { %>
                    <li><%= key %>: <%= results_count_instruments[key] %></li>
                <% }} %>
                <% if (typeof results_count_piano != "undefined") {for(const key in results_count_piano) { %>
                    <li><%= key %>: <%= results_count_piano[key] %></li>
                <% }} %>
                <% if (typeof results_count_violon_1 != "undefined") {for(const key in results_count_violon_1) { %>
                    <li><%= key %>: <%= results_count_violon_1[key] %></li>
                <% }} %>
                <% if (typeof results_count_violon_2 != "undefined") {for(const key in results_count_violon_2) { %>
                    <li><%= key %>: <%= results_count_violon_2[key] %></li>
                <% }} %>
                <% if (typeof results_count_alto != "undefined") {for(const key in results_count_alto) { %>
                    <li><%= key %>: <%= results_count_alto[key] %></li>
                <% }} %>
                <% if (typeof results_count_violoncelle_1 != "undefined") {for(const key in results_count_violoncelle_1) { %>
                    <li><%= key %>: <%= results_count_violoncelle_1[key] %></li>
                <% }} %>
                <% if (typeof results_count_violoncelle_2 != "undefined") {for(const key in results_count_violoncelle_2) { %>
                    <li><%= key %>: <%= results_count_violoncelle_2[key] %></li>
                <% }} %>
                <% if (typeof results_count_trompette != "undefined") {for(const key in results_count_trompette) { %>
                    <li><%= key %>: <%= results_count_trompette[key] %></li>
                <% }} %>
                <% if (typeof results_count_flute != "undefined") {for(const key in results_count_flute) { %>
                    <li><%= key %>: <%= results_count_flute[key] %></li>
                <% }} %>
                <% if (typeof results_count_harpe != "undefined") {for(const key in results_count_harpe) { %>
                    <li><%= key %>: <%= results_count_harpe[key] %></li>
                <% }} %>
            </ul>

        </aside>


    </main>
  
  
  
    <!-- ---------------------------------- -->
    <!-- FOOTER -->
    <!-- ---------------------------------- -->
    <%- include('../../template_parts/footer')%>
  
</body>

<!-- JAVASCRIPT d'EXECUTION -->
<script src="/public/js/adhesion/hidden_visible.js"></script>
  
</html>