{# templates/admin/projet/_form.html.twig #} {{ form_start(form, {'attr': {'class': 'needs-validation', 'novalidate': 'novalidate'}}) }}
{# --- SECTION : IDENTITÉ DU PROJET --- #}
{{ form_label(form.nom, 'Nom du programme immobilier *') }} {{ form_widget(form.nom) }} {{ form_errors(form.nom) }}
{{ form_label(form.typeBusiness, 'Modèle économique *') }} {{ form_widget(form.typeBusiness) }} {{ form_errors(form.typeBusiness) }}
{{ form_row(form.description, { 'label': 'Description commerciale', 'attr': {'rows': 4} }) }}
{# --- SECTION : LOCALISATION & JURIDIQUE --- #}
{{ form_row(form.localisationVille, { 'label': 'Ville *' }) }}
{{ form_row(form.localisationCommune, { 'label': 'Commune / Zone *' }) }}
{{ form_label(form.statutFoncier, 'Statut du terrain *') }} {{ form_widget(form.statutFoncier) }} {{ form_errors(form.statutFoncier) }}
{{ form_label(form.numAgrementPromoteur, 'N° Agrément Promoteur') }} {{ form_widget(form.numAgrementPromoteur) }} {{ form_errors(form.numAgrementPromoteur) }}
{# --- SECTION : VISUELS & PLANNING --- #}
{{ form_widget(form.imagePrincipale, { 'attr': {'class': 'form-control shadow-sm'} }) }}
Format recommandé : 1200x800px (JPG, PNG).
{% if projet.imagePrincipale %}

Aperçu actuel :

Aperçu
{% endif %}
{{ form_label(form.dateLivraisonPrevue, 'Date de livraison estimée') }} {{ form_widget(form.dateLivraisonPrevue, {'widget': 'single_text'}) }} {{ form_errors(form.dateLivraisonPrevue) }}
{{ form_label(form.commoditesProximite, "Commodités & Points d'intérêt") }} {{ form_widget(form.commoditesProximite, { 'attr': {'class': 'form-select select2'} }) }}
{# --- ACTIONS --- #}

Les modifications seront visibles immédiatement sur le portail client.

{{ form_end(form) }}