mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
Use renderInterface to render gender icons in twig
This commit is contained in:
@@ -86,7 +86,8 @@
|
||||
</div>
|
||||
{%- if options['addInfo'] -%}
|
||||
<p class="moreinfo">
|
||||
<i class="{{ person.gender.icon }}" title="{{ person.gender.label|localize_translatable_string }}"></i>
|
||||
{{ person.gender.icon|chill_entity_render_box }}
|
||||
{# <i class="{{ person.gender.icon.value }}" title="{{ person.gender.label|localize_translatable_string }}"></i>#}
|
||||
|
||||
{%- if person.deathdate is not null -%}
|
||||
{%- if person.birthdate is not null -%}
|
||||
|
Reference in New Issue
Block a user