Change PickGenderType form field to use in Person creation form

This commit is contained in:
2024-09-26 13:24:30 +02:00
parent b78f0980f5
commit 67a6eb17db
10 changed files with 69 additions and 104 deletions

View File

@@ -106,7 +106,7 @@
{%- endif -%}
{%- elseif person.birthdate is not null -%}
<time datetime="{{ person.birthdate|date('Y-m-d') }}" title="{{ 'Birthdate'|trans }}">
{{ 'Born the date'|trans({'gender': person.gender,
{{ 'Born the date'|trans({'gender': person.gender.genderTranslation.value,
'birthdate': person.birthdate|format_date("medium") }) }}
</time>
{%- if options['addAge'] -%}