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

@@ -6,7 +6,7 @@
<th>id</th>
<th>{{ 'gender.label'|trans }}</th>
<th>{{ 'gender.icon'|trans }}</th>
<th>{{ 'gender.isGrammatical'|trans }}</th>
<th>{{ 'gender.genderTranslation'|trans }}</th>
<th>{{ 'gender.active'|trans }}</th>
<th>{{ 'gender.ordering'|trans }}</th>
<th></th>
@@ -16,15 +16,8 @@
<tr>
<td>{{ entity.id }}</td>
<td>{{ entity.label|localize_translatable_string }}</td>
{# todo: decide which icon source to use#}
<td><i class="{{ entity.icon }}"></i></td>
<td style="text-align:center;">
{%- if entity.isGrammatical -%}
<i class="fa fa-check-square-o"></i>
{%- else -%}
<i class="fa fa-square-o"></i>
{%- endif -%}
</td>
<td>{{ entity.genderTranslation.value }}</td>
<td style="text-align:center;">
{%- if entity.active -%}
<i class="fa fa-check-square-o"></i>