scope placed within condition in edit form personDocument

This commit is contained in:
Julie Lenaerts 2022-02-11 11:33:07 +01:00
parent 1e04c178dc
commit 48589f3368

View File

@ -30,7 +30,9 @@
{{ form_row(form.title) }}
{{ form_row(form.date) }}
{{ form_row(form.category) }}
{{ form_row(form.scope) }}
{% if form.scope is defined %}
{{ form_row(form.scope) }}
{% endif %}
{{ form_row(form.description) }}
{{ form_row(form.object, { 'label': 'Document', 'existing': document.object }) }}