fix errors on permission groups form when not using flags

This commit is contained in:
Julien Fastré 2018-09-11 13:52:26 +02:00
parent f00e3d511a
commit 9a0a9a5569
2 changed files with 4 additions and 0 deletions

View File

@ -9,7 +9,9 @@
{{ form_start(edit_form) }}
{{ form_row(edit_form.name) }}
{% if edit_form.flags is defined %}
{{ form_row(edit_form.flags) }}
{% endif %}
{{ form_row(edit_form.submit, { 'attr': { 'class': 'sc-button green' } } ) }}
{{ form_end(edit_form) }}

View File

@ -7,7 +7,9 @@
{{ form_start(form) }}
{{ form_row(form.name) }}
{% if form.flags is defined %}
{{ form_row(form.flags) }}
{% endif %}
{{ form_row(form.submit, { 'attr': { 'class': 'sc-button green' } } ) }}
{{ form_end(form) }}