person document: fix use of deprecated role class

This commit is contained in:
2021-12-17 00:33:02 +01:00
parent 773aee5534
commit 36890a2256
4 changed files with 10 additions and 7 deletions

View File

@@ -32,7 +32,11 @@
{{ 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 }) }}