{{ form_start(form, { 'attr': { 'class': 'mt-12 ml-auto mr-20 lg:mr-16 bg-white shadow-md rounded-2xl px-8 pt-6 pb-8 mb-4 w-5/6 lg:w-2/5' } }) }}
{% if edit_mode %}

Modifier mon profil

Modification de mon profil {% endif %} {% if not app.user %}

Inscription

Remplissez les champs suivant afin de créer votre compte

{% endif %} {% if app.request.attributes.get('role') == "doctor" %}

Informations

Complétez les informations suivantes pour votre inscription.

{% endif %}
{{ form_row(form.gender, {'attr': {'class': 'text-2xl lg:text-base form-control w-full p-3 lg:p-2 flex items-center border rounded-lg required-step1'}}) }}
{{ form_row(form.firstName, {'attr': {'class': 'text-2xl lg:text-base form-control w-full p-3 lg:p-2 flex items-center border rounded-lg required-step1', 'placeholder': 'Entrez votre prénom'}}) }}
{{ form_row(form.phone, {'attr': {'class': 'text-2xl lg:text-base form-control w-full p-3 lg:p-2 flex items-center border rounded-lg required-step1', 'placeholder': 'Entrez votre numéro de téléphone'}}) }}
{{ form_row(form.lastName, {'attr': {'class': 'text-2xl lg:text-base form-control w-full p-3 lg:p-2 flex items-center border rounded-lg required-step1', 'placeholder': 'Entrez votre nom'}}) }}
{{ form_row(form.email, {'attr': {'class': 'text-2xl lg:text-base form-control w-full p-3 lg:p-2 flex items-center border rounded-lg required-step1', 'placeholder': 'Entrez votre email'}}) }}
{{ form_row(form.birthAt, {'attr': {'class': 'text-2xl lg:text-base form-control w-full p-3 lg:p-2 flex items-center border rounded-lg required-step1', 'placeholder': 'Entrez votre date de naissance'}}) }}
{{ form_row(form.address, {'attr': {'class': 'text-2xl lg:text-base form-control w-full p-3 lg:p-2 flex items-center border rounded-lg required-step1', 'placeholder': 'Entrez votre adresse'}}) }}
{% if not edit_mode %}
{{ form_row(form.plainPassword.first, {'attr': {'class': 'text-2xl lg:text-base form-control w-full p-3 lg:p-2 flex items-center border rounded-lg required-step1', 'placeholder': 'Minimum 8 caractères'}}) }}
{{ form_row(form.plainPassword.second, {'attr': {'class': 'text-2xl lg:text-base form-control w-full p-3 lg:p-2 flex items-center border rounded-lg required-step1', 'placeholder': 'Confirmez votre mot de passe'}}) }}
{% endif %}
{{ form_end(form) }}