mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
person: add civility: entity, migration, form, twig, config
This commit is contained in:
@@ -51,6 +51,15 @@ This view should receive those arguments:
|
||||
<figure class="person-details">
|
||||
<h2 class="chill-red">{{ 'General information'|trans }}</h2>
|
||||
<dl>
|
||||
{% if person.civility is not null %}
|
||||
<dt>{{ 'Civility'|trans }} :</dt>
|
||||
<dd>
|
||||
{% if person.civility.name|length > 0 %}
|
||||
{{ person.civility.name|first }}
|
||||
{% endif %}
|
||||
</dd>
|
||||
{% endif %}
|
||||
|
||||
<dt>{{ 'First name'|trans }} :</dt>
|
||||
<dd>{{ person.firstName }}</dd>
|
||||
|
||||
|
Reference in New Issue
Block a user