mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
add isLeaf condition on ThirdParty form Type
This commit is contained in:
@@ -11,18 +11,18 @@
|
||||
|
||||
{{ form_start(form) }}
|
||||
|
||||
{% if thirdParty.isLeaf == true %}
|
||||
{% if form.civility is defined %}
|
||||
{{ form_row(form.civility) }}
|
||||
{% endif %}
|
||||
|
||||
{{ form_row(form.name) }}
|
||||
|
||||
{% if thirdParty.isLeaf == false %}
|
||||
{% if form.nameCompany is defined %}
|
||||
{{ form_row(form.nameCompany) }}
|
||||
{{ form_row(form.acronym) }}
|
||||
{% endif %}
|
||||
|
||||
{% if thirdParty.isLeaf == true %}
|
||||
{% if form.profession is defined %}
|
||||
{{ form_row(form.profession) }}
|
||||
{% endif %}
|
||||
|
||||
|
@@ -28,18 +28,18 @@
|
||||
|
||||
{{ form_start(form) }}
|
||||
|
||||
{% if thirdParty.isLeaf == true %}
|
||||
{% if form.civility is defined %}
|
||||
{{ form_row(form.civility) }}
|
||||
{% endif %}
|
||||
|
||||
{{ form_row(form.name) }}
|
||||
|
||||
{% if thirdParty.isLeaf == false %}
|
||||
{% if form.nameCompany is defined %}
|
||||
{{ form_row(form.nameCompany) }}
|
||||
{{ form_row(form.acronym) }}
|
||||
{% endif %}
|
||||
|
||||
{% if thirdParty.isLeaf == true %}
|
||||
{% if form.profession is defined %}
|
||||
{{ form_row(form.profession) }}
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user