{% block permissions_widget %}
| Rubrique | {% for libelle in actions %}{{ libelle }} | {% endfor %}
|---|---|
| {{ definition.libelle }} | {% for action, libelle in actions %}{% if action in definition.actions %} {% for choice in form %} {% if choice.vars.value == rubrique ~ '.' ~ action %} {{ form_widget(choice, {'label': false, 'attr': {'aria-label': definition.libelle ~ ' : ' ~ libelle}}) }} {% endif %} {% endfor %} {% else %}—{% endif %} | {% endfor %}