diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Person/edit.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Person/edit.html.twig
index 9f65d150c..fd6baa846 100644
--- a/src/Bundle/ChillPersonBundle/Resources/views/Person/edit.html.twig
+++ b/src/Bundle/ChillPersonBundle/Resources/views/Person/edit.html.twig
@@ -21,10 +21,11 @@
{% block title %}{{ 'Update details for %name%'|trans({ '%name%': person.firstName|capitalize ~ ' ' ~ person.lastName } )|capitalize }}{% endblock %}
{% block personcontent %}
-
+
+
{{ 'Update details for %name%'|trans({ '%name%': person.firstName|capitalize ~ ' ' ~ person.lastName|capitalize } ) }}
- {% form_theme form '@ChillMain/Form/fields.html.twig' %}
+ {% form_theme form '@ChillMain/Form/fields.html.twig' %}
{{ form_start(form) }}
{% if form.memo is defined %}
@@ -42,6 +43,7 @@
{{ form_widget(form.altNames, { 'label': 'Alternative names'}) }}
{% endif %}
{{ form_row(form.gender, {'label' : 'Gender'}) }}
+ {{ form_row(form.genderComment, { 'label' : 'Comment on the gender'} ) }}
@@ -53,9 +55,12 @@
{%- if form.countryOfBirth is defined -%}
{{ form_row(form.countryOfBirth, { 'label' : 'Country of birth' } ) }}
{%- endif -%}
+ {%- if form.deathdate is defined -%}
+ {{ form_row(form.deathdate, { 'label' : 'Date of death' } ) }}
+ {%- endif -%}
- {%- if form.nationality is defined or form.spokenLanguages is defined or form.maritalStatus is defined -%}
+ {%- if form.nationality is defined or form.spokenLanguages is defined -%}
{{ 'Administrative information'|trans }}
{%- if form.nationality is defined -%}
@@ -64,8 +69,21 @@
{%- if form.spokenLanguages is defined -%}
{{ form_row(form.spokenLanguages, {'label' : 'Spoken languages'}) }}
{%- endif -%}
+
+ {%- endif -%}
+
+ {%- if form.numberOfChildren is defined or form.maritalStatus is defined -%}
+
+ {{ 'Marital status'|trans }}
+ {{ form_row(form.numberOfChildren, {'label' : 'Number of children'}) }}
{%- if form.maritalStatus is defined -%}
- {{ form_row(form.maritalStatus, { 'label' : 'Marital status'} ) }}
+
+ {{ form_row(form.maritalStatus, { 'label' : 'Marital status'} ) }}
+
+
+ {{ form_row(form.maritalStatusDate, { 'label' : 'Date of last marital status change'} ) }}
+ {{ form_row(form.maritalStatusComment, { 'label' : 'Comment on the marital status'} ) }}
+
{%- endif -%}
{%- endif -%}
@@ -74,13 +92,28 @@
{{ 'Contact information'|trans }}
{%- if form.email is defined -%}
- {{ form_row(form.email, {'label': 'Email'}) }}
+
+ {{ form_row(form.email, {'label': 'Email'}) }}
+
+
+ {{ form_row(form.acceptEmail, {'label' : 'Accept emails ?'}) }}
+
{%- endif -%}
+
{%- if form.phonenumber is defined -%}
{{ form_row(form.phonenumber, {'label': 'Phonenumber'}) }}
{%- endif -%}
{%- if form.mobilenumber is defined -%}
- {{ form_row(form.mobilenumber, {'label': 'Mobilenumber'}) }}
+
+ {{ form_row(form.mobilenumber, {'label': 'Mobilenumber'}) }}
+
+
+ {{ form_row(form.acceptSMS, {'label' : 'Accept short text message ?'}) }}
+
+ {%- endif -%}
+ {%- if form.otherPhoneNumbers is defined -%}
+ {{ form_widget(form.otherPhoneNumbers) }}
+ {{ form_errors(form.otherPhoneNumbers) }}
{%- endif -%}
{%- if form.contactInfo is defined -%}
{{ form_row(form.contactInfo, {'label': 'Notes on contact information'}) }}
@@ -103,13 +136,11 @@
-
{{ form_end(form) }}
-
+
{% endblock personcontent %}
-
{% block js %}
{% endblock js %}