{# ── 4. CONFIRMER LE MOT DE PASSE (second champ) ── #}
{{ form_label(registrationForm.plainPassword.second, 'Confirmer le mot de passe') }}
{{ form_widget(registrationForm.plainPassword.second, {
'attr': {'placeholder': 'Répétez le mot de passe'}
}) }}
{% if registrationForm.plainPassword.vars.errors|length > 0 %}
{{ form_errors(registrationForm.plainPassword) }}
{% endif %}
{# ── 5. CGV — obligatoire ── #}
{% if registrationForm.agreeTerms is defined %}
{{ form_widget(registrationForm.agreeTerms) }}
{% if registrationForm.agreeTerms.vars.errors|length > 0 %}
{{ form_errors(registrationForm.agreeTerms) }}
{% endif %}
{% endif %}
{# ── 6. OPT-IN MARKETING — facultatif, RGPD art. 7 ── #}
{% if registrationForm.optinMarketing is defined %}