{# templates/card/_form.html.twig #} {# CSS externalisé dans card.css #}
{{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }} {# Section 1 : Informations personnelles #}

👤 Informations personnelles

{{ form_label(form.prenom) }} {{ form_widget(form.prenom) }} {{ form_errors(form.prenom) }}
{{ form_label(form.nom) }} {{ form_widget(form.nom) }} {{ form_errors(form.nom) }}
{# Photo de profil (spécifique Force) - Vérifier si le champ existe #} {% if form.photo is defined %}
{{ form_label(form.photo) }} {{ form_widget(form.photo) }} {{ form_errors(form.photo) }} {{ form_help(form.photo) }}
{% endif %}
{# Section 2 : Informations professionnelles #}

💼 Informations professionnelles

{{ form_label(form.entreprise) }} {{ form_widget(form.entreprise) }} {{ form_errors(form.entreprise) }}
{{ form_label(form.fonction) }} {{ form_widget(form.fonction) }} {{ form_errors(form.fonction) }}
{# Secteur (spécifique Force) - Vérifier si le champ existe #} {% if form.secteur is defined %}
{{ form_label(form.secteur) }} {{ form_widget(form.secteur) }} {{ form_errors(form.secteur) }}
{% endif %}
{# Titre et Logo (spécifique Premium) - Vérifier si les champs existent #} {% if form.titre is defined %}
{{ form_label(form.titre) }} {{ form_widget(form.titre) }} {{ form_errors(form.titre) }}
Ex: Photographie d'Art & d'Âme
{% if form.logo is defined %}
{{ form_label(form.logo) }} {{ form_widget(form.logo) }} {{ form_errors(form.logo) }}
Emoji ou caractère spécial
{% endif %}
{% endif %} {# Slogan (commun à Force et Premium) - Vérifier si le champ existe #} {% if form.slogan is defined %}
{{ form_label(form.slogan) }} {{ form_widget(form.slogan) }} {{ form_errors(form.slogan) }}
Votre phrase d'accroche
{% endif %}
{# Section 3 : Contact #}

📞 Contact

{{ form_label(form.fixe) }} {{ form_widget(form.fixe) }} {{ form_errors(form.fixe) }}
{{ form_label(form.email) }} {{ form_widget(form.email) }} {{ form_errors(form.email) }}
{{ form_label(form.siteWeb) }} {{ form_widget(form.siteWeb) }} {{ form_errors(form.siteWeb) }}
{{ form_label(form.adresse) }} {{ form_widget(form.adresse) }} {{ form_errors(form.adresse) }}
{# Section 4 : Services et zone (spécifique Force) - Vérifier si les champs existent #} {% if form.services is defined %}

🎯 Services & Zone d'intervention

{{ form_label(form.services) }} {{ form_widget(form.services) }} {{ form_errors(form.services) }} {{ form_help(form.services) }}
{% if form.zoneIntervention is defined and form.horaires is defined %}
{{ form_label(form.zoneIntervention) }} {{ form_widget(form.zoneIntervention) }} {{ form_errors(form.zoneIntervention) }}
{{ form_label(form.horaires) }} {{ form_widget(form.horaires) }} {{ form_errors(form.horaires) }}
{% endif %}
{% endif %} {# Section 5 : Statistiques (spécifique Premium) - Vérifier si les champs existent #} {% if form.expertise is defined %}

📊 Vos Statistiques

{{ form_label(form.expertise) }} {{ form_widget(form.expertise) }} {{ form_errors(form.expertise) }}
Ex: 12 ans
{% if form.seances is defined %}
{{ form_label(form.seances) }} {{ form_widget(form.seances) }} {{ form_errors(form.seances) }}
Ex: 500+
{% endif %}
{% endif %} {# Bouton de soumission #} {# Afficher tous les champs qui n'ont pas encore été rendus (au cas où) #} {{ form_rest(form) }} {{ form_end(form) }}