section.html.twig 261B

1234567
  1. {% import '@LcCaracole/admin/section/macros.html.twig' as macros_section %}
  2. {% set item = entity.instance %}
  3. {% if item.section %}
  4. {{ macros_section.section_badge(item.section) }}
  5. {% else %}
  6. <span class="badge badge-secondary">Aucune</span>
  7. {% endif %}