Use renderInterface to render gender icons in twig

This commit is contained in:
2024-10-01 11:36:00 +02:00
parent 567c01f395
commit b9d2f5efa3
4 changed files with 42 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
<tr>
<td>{{ entity.id }}</td>
<td>{{ entity.label|localize_translatable_string }}</td>
<td><i class="{{ entity.icon }}"></i></td>
<td>{{ entity.icon|chill_entity_render_box }}</td>
<td>{{ entity.genderTranslation.value }}</td>
<td style="text-align:center;">
{%- if entity.active -%}