mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-01 19:09:45 +00:00
Adjust display of gender in twig templates
This commit is contained in:
@@ -73,7 +73,7 @@ This view should receive those arguments:
|
||||
{% endfor %}
|
||||
|
||||
<dt>{{ 'Gender'|trans }} :</dt>
|
||||
<dd>{{ ( person.gender|default('Not given'))|trans }}</dd>
|
||||
<dd>{{ ( person.gender.label|localize_translatable_string ) }}</dd>
|
||||
|
||||
</dl>
|
||||
</figure>
|
||||
|
Reference in New Issue
Block a user