您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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 %}