handle kind as contacts

This commit is contained in:
2021-10-08 17:51:51 +02:00
parent 4d71a1c630
commit 0633fd812f
8 changed files with 148 additions and 58 deletions

View File

@@ -1,29 +1,31 @@
{% if form.civility is defined %}
{{ form_row(form.civility) }}
{% endif %}
{{ form_row(form.name) }}
{{ form_row(form.name) }}
{% if form.nameCompany is defined %}
{{ form_row(form.nameCompany) }}
{{ form_row(form.acronym) }}
{% endif %}
{% if form.nameCompany is defined %}
{{ form_row(form.nameCompany) }}
{{ form_row(form.acronym) }}
{% endif %}
{% if form.profession is defined %}
{{ form_row(form.profession) }}
{% endif %}
{% if form.profession is defined %}
{{ form_row(form.profession) }}
{% endif %}
{{ form_row(form.types) }}
{{ form_row(form.categories) }}
{{ form_row(form.types) }}
{{ form_row(form.categories) }}
{{ form_row(form.telephone) }}
{{ form_row(form.email) }}
{{ form_row(form.telephone) }}
{{ form_row(form.email) }}
<h2>{{ 'Contacts'|trans }}</h2>
{{ form_widget(form.activeChildren) }}
{{ form_row(form.contactDataAnonymous) }}
{% if form.activeChildren is defined %}
<h2>{{ 'Contacts'|trans }}</h2>
{{ form_widget(form.activeChildren) }}
{% endif %}
<div class="mb-3 row">
{{ form_label(form.address) }}
@@ -54,6 +56,6 @@
</div>
{{ form_row(form.comment) }}
{{ form_row(form.centers) }}
{{ form_row(form.centers) }}
{{ form_row(form.active) }}
{{ form_row(form.active) }}