Displaying & edit marital status

This commit is contained in:
Marc Ducobu
2015-08-12 17:59:12 +02:00
parent 98e1fb663b
commit 21676a20b2
6 changed files with 101 additions and 53 deletions

View File

@@ -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>

View File

@@ -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) %}