{% extends 'layout.html.twig' %} {% block javascripts_header %} {{ encore_entry_script_tags('app') }} {{ encore_entry_script_tags('commanditaire') }} {% endblock %} {% block body %}
{{ form_start(form, {'attr': {'class': 'form form-horizontal','id':"creer_commanditaire",'autocomplete':'off'}}) }}

{% if commanditaire is defined %} Modifier le commanditaire : {{ commanditaire.nom }} {% else %} Enregistrer un commanditaire {% endif %}


{{ form_widget(form._token) }} {{ form_label(form.nom,'Nom de société*', {'label_attr': {'class': 'control-label'}}) }} {{ form_widget(form.nom, {'id' : 'nom', 'attr': { 'class': 'form-control required input-lg'}}) }} {{ form_errors(form.nom,{'attr':{'class':'error'}}) }}
{{ form_label(form.siret,'Siret *', {'label_attr': {'class': 'control-label required'}}) }} {{ form_widget(form.siret, {'id' : 'siret', 'attr': { 'class': 'form-control input-lg'}}) }} {{ form_errors(form.siret) }}
{{ form_label(form.responsable,'Responsable du dossier', {'label_attr': {'class': 'control-label'}}) }} {{ form_widget(form.responsable, {'id' : 'telperso', 'attr': { 'class': 'form-control'}}) }}
{{ form_label(form.datecontact,"Date de contact *", {'label_attr': {'class': 'control-label'}}) }}
{{ form_widget(form.datecontact, {'id' : 'dateentree', 'attr': { 'class': 'form-control input-lg','placeholder':'jj/mm/aaaa'}}) }}
{{ form_errors(form.datecontact) }}
Adresse *
{{ form_widget(form.norue, {'id' : 'id_numrue', 'attr': { 'class': 'form-control', 'placeholder' : 'Numéro de rue'}}) }}
{{ form_widget(form.nomrue, {'id' : 'id_no_rue', 'attr': { 'class': 'form-control', 'placeholder' : 'Nom de la rue'}}) }}
{{ form_widget(form.cp, {'id' : 'id_code_postal', 'attr': { 'class': 'form-control', 'placeholder' : 'Code postal'}}) }}
{{ form_widget(form.ville, {'id' : 'id_ville', 'attr': { 'class': 'form-control', 'placeholder' : 'Ville ou commune'}}) }}
{{ form_errors(form.ville) }}
{{ form_label(form.telephone,"Téléphone", {'label_attr': {'class': 'control-label'}}) }} {{ form_widget(form.telephone, {'id' : 'telperso', 'attr': { 'class': 'form-control'}}) }} {{ form_errors(form.telephone) }}
{{ form_label(form.mobile,"Mobile", {'label_attr': {'class': 'control-label'}}) }} {{ form_widget(form.mobile, {'id' : 'telperso', 'attr': { 'class': 'form-control'}}) }} {{ form_errors(form.mobile) }}
{{ form_label(form.mail,"Mail *", {'label_attr': {'class': 'control-label'}}) }} {{ form_widget(form.mail, {'id' : 'mailperso', 'attr': { 'class': 'form-control'}}) }} {{ form_errors(form.mail) }}

Informations Diverses *


{{ form_label(form.commentaire,"Commentaires *", {'label_attr': {'class': 'control-label'}}) }} {{ form_widget(form.commentaire, {'id' : 'dateentree', 'attr': { 'class': 'form-control','cols':'60','rows':'10'}}) }} {{ form_errors(form.commentaire) }}


Retour

{{ form_end(form, {'render_rest': false}) }}
{% endblock %}