Add ACL check on link "add a person"

This commit is contained in:
Julien Fastré 2018-07-17 17:04:05 +02:00
parent b2abce256d
commit 77c00f4157

View File

@ -1,3 +1,4 @@
{% if is_granted('CHILL_PERSON_CREATE') %}
<div class="grid-8 centered" style="text-align:center; margin-top: 1.5em;">
<a href="{{ path('chill_person_new') }}">
<div class="sc-button blue" style="float: inherit;">
@ -5,4 +6,4 @@
</div>
</a>
</div>
{% endif %}