thirdparty, manage case with only one type

in that case, type field is hidden, uniq type is automatically written in table
This commit is contained in:
2021-09-15 16:06:15 +02:00
parent 6e31e01e51
commit 683eac91d8
3 changed files with 50 additions and 25 deletions

View File

@@ -26,8 +26,8 @@
{{ form_row(form.profession) }}
{% endif %}
{{ form_row(form.categories) }}
{{ form_row(form.type) }}
{{ form_row(form.categories) }}
{{ form_row(form.telephone) }}
{{ form_row(form.email) }}

View File

@@ -43,8 +43,8 @@
{{ form_row(form.profession) }}
{% endif %}
{{ form_row(form.categories) }}
{{ form_row(form.type) }}
{{ form_row(form.categories) }}
{{ form_row(form.telephone) }}
{{ form_row(form.email) }}