scope placed within condition in edit form personDocument

This commit is contained in:
Julie Lenaerts 2022-02-11 11:33:07 +01:00 committed by Julien Fastré
parent c8e5ba4738
commit 29e384ada5

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 }) }}