remove "person" filter when a person file is opened

This commit is contained in:
2018-05-07 22:32:59 +02:00
parent b856647b04
commit 650f2c8e18
3 changed files with 41 additions and 24 deletions

View File

@@ -145,7 +145,10 @@
{{ form_start(form) }}
{{ form_row(form.user_id) }}
{{ form_row(form.status) }}
{% if form.person_id is defined %}
{{ form_row(form.person_id) }}
{% endif %}
<button type="submit">{{ 'Filter'|trans }}</button>
{{ form_end(form)}}