- {% import '@LcCaracole/admin/section/macros.html.twig' as macros_section %}
- {% set item = entity.instance %}
- {% for section in item.sections %}
- {{ macros_section.section_badge(section) }}
- {% else %}
- <span class="badge badge-secondary">Aucune</span>
- {% endfor %}
|