mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Displaying & edit marital status
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
<legend><h2>{{ 'Administrative information'|trans }}</h2></legend>
|
||||
{{ form_row(form.nationality, { 'label' : 'Nationality'|trans} ) }}
|
||||
{{ form_row(form.spokenLanguages, {'label' : 'Spoken languages'}) }}
|
||||
{{ form_row(form.maritalStatus, { 'label' : 'Marital status'} ) }}
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
|
@@ -113,6 +113,12 @@ This view should receive those arguments:
|
||||
{% endif %}
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt class="inline">{{'Marital status'|trans}}</dt>
|
||||
<dd>
|
||||
{{ person.maritalStatus.name|localize_translatable_string }}
|
||||
</dd>
|
||||
</dl>
|
||||
</figure>
|
||||
|
||||
{% if is_granted('CHILL_PERSON_UPDATE', person) %}
|
||||
|
Reference in New Issue
Block a user