{% extends 'layout.html.twig' %} {% block content %}

Client edit

{{ form_start(edit_form) }} {{ form_label( edit_form.nom, ('Client name: ')) }}{{ form_widget(edit_form.nom) }}

{{ form_label( edit_form.numero, ('Client number: ')) }}{{ form_widget(edit_form.numero) }}

{{ form_label( edit_form.contact, ('CONTACT 1:'), { 'label_attr': {'style': 'color:green; font-weight:bold' } } ) }}{{ form_widget(edit_form.contact) }}

{{ form_label( edit_form.position, ('POSITION 1:'), { 'label_attr': {'style': 'color:green; font-weight:bold' } } ) }}{{ form_widget(edit_form.position) }}

{{ form_label( edit_form.telephone, ('PHONE 1:'), { 'label_attr': {'style': 'color:green; font-weight:bold' } } ) }}{{ form_widget(edit_form.telephone) }}

{{ form_label( edit_form.email, ('EMAIL 1:'), { 'label_attr': {'style': 'color:green; font-weight:bold' } } ) }}{{ form_widget(edit_form.email) }}

{{ form_label( edit_form.contact2, ('CONTACT 2:'), { 'label_attr': {'style': 'color:red; font-weight:bold' } } ) }}{{ form_widget(edit_form.contact2) }}

{{ form_label( edit_form.position2, ('POSITION 2:'), { 'label_attr': {'style': 'color:red; font-weight:bold' } } ) }}{{ form_widget(edit_form.position2) }}

{{ form_label( edit_form.telephone2, ('PHONE 2:'), { 'label_attr': {'style': 'color:red; font-weight:bold' } } ) }}{{ form_widget(edit_form.telephone2) }}

{{ form_label( edit_form.email2, ('EMAIL 2:'), { 'label_attr': {'style': 'color:red; font-weight:bold' } } ) }}{{ form_widget(edit_form.email2) }}

{{ form_row(edit_form.address) }} {{ form_row(edit_form.zip) }} {{ form_row(edit_form.city) }} {{ form_row(edit_form.country) }} {{ form_row(edit_form.commentaire) }} {{ form_row(edit_form.statut) }} {% if edit_form.maintenancecontract is defined %}{{ form_row(edit_form.maintenancecontract) }}{%endif%} {% if edit_form.datestartcontract is defined %}{{ form_row(edit_form.datestartcontract) }}{%endif%} {% if edit_form.dateendcontract is defined %}{{ form_row(edit_form.dateendcontract) }}{%endif%} {{ form_row(edit_form.warning) }} {{ form_end(edit_form) }} Back {% endblock %}