templates/security/registration/index.html.twig line 1
{% extends "master.html.twig" %}{% block title %}Inscription{% endblock %}{% block body %}<style>.check label {margin-right: 1rem !important;}</style><img class="bg-arriere" src="{{ asset('assets/img/background1.png') }}" alt=""><div class="auth-page-wrapper pt-5"><!-- auth page content --><div class="auth-page-content"><div class="container"><div class="row justify-content-center mt-5"><div class="col-md-12 col-lg-10 col-xl-10"><div class="card mt-4"><div class="card-body p-4"><div {{ react_component('Registration/CreateAccount', {'routes': {'registration': path('app_registration_save'),'proofs': path('app_registration_save_proofs'),'generate_subscription': path('app_registration_generate_subscription'),'signature': path('app_registration_subscription_signature'),'success': path('app_registration_success'),'conditions': path('app_legal_terms'),},'inputCurrencies': get_currencies(),'locale': app.request.getLocale(),'deeplApiKey': deepl_apikey,'recaptchaSiteKey': recaptcha_sitekey,'beneficiary': beneficiary}) }}></div></div></div><div class="mt-4 text-center"><p class="mb-0">{% trans %}Vous avez déjà un compte ?{% endtrans %}<a href="{{ path('app_login') }}"class="fw-semibold text-primary text-decoration-underline">{% trans %}Se connecter{% endtrans %}</a></p></div></div></div></div></div></div>{# <script>#}{# const checkboxes = document.querySelectorAll('input[name="form[types][]"]');#}{# const selectedTypesList = document.querySelector('#selected_types_list');#}{# const selectedTypesInput = document.querySelector('#selected_types');#}{# checkboxes.forEach(checkbox => {#}{# checkbox.addEventListener('change', () => {#}{# const selectedText = checkbox.nextElementSibling.textContent;#}{# const listItem = document.createElement('span');#}{# listItem.classList.add('selected-type');#}{# listItem.textContent = selectedText;#}{# selectedTypesList.appendChild(listItem);#}{# updateSelectedTypesInput();#}{# });#}{# });#}{# function updateSelectedTypesInput() {#}{# const selectedValues = [];#}{# checkboxes.forEach(checkbox => {#}{# if (checkbox.checked) {#}{# selectedValues.push(checkbox.value);#}{# }#}{# });#}{# selectedTypesInput.value = selectedValues.join(',');#}{# }#}{# </script>#}{# <script>#}{# // Récupérez l'élément input par son ID#}{# var dateInput = document.getElementById('dateInput');#}{# // Obtenez la date du jour au format ISO (AAAA-MM-JJTHH:mm)#}{# var today = new Date().toISOString().slice(0, 16);#}{# // Définissez la date minimale (aujourd'hui) pour l'élément input#}{# dateInput.min = today;#}{# </script>#}{% endblock %}