edit template of activity rights implemented

This commit is contained in:
Julie Lenaerts 2022-02-16 16:48:31 +01:00
parent f2221565c5
commit d47fdc768e

View File

@ -109,9 +109,11 @@
{{ 'Cancel'|trans }}
</a>
</li>
<li>
<button class="btn btn-update" type="submit">{{ 'Save'|trans }}</button>
</li>
{% if is_granted('CHILL_ACTIVITY_UPDATE', entity) %}
<li>
<button class="btn btn-update" type="submit">{{ 'Save'|trans }}</button>
</li>
{% endif %}
</ul>
{{ form_end(edit_form) }}