Authorization in template

{% if is_granted('ROLE_ADMIN') %}
<a href="...">Delete</a>
{% endif %}
Comments