{% extends "CLChillPersonBundle::layout.html.twig" %} {% set activeRouteKey = 'chill_person_view' %} {# This view should receive those arguments: - person #} {% block title %}CLChillPersonBundle:Person:see{% endblock %} {% set edit_tmp_name = 'CLChillPersonBundle:Form:go_to_form.html.twig' %} {% set edit_tmp_args = { 'form_path_args' : { 'id': person.id }, 'form_path_key' : 'chill_person_general_edit' } %} {% block personcontent %} {{ include(edit_tmp_name, edit_tmp_args) }}

{{ 'views.Person.view.general'|trans }}

{{ 'views.Person.view.surname'|trans }}
{{ person.surname }}
{{ 'views.Person.view.name'|trans }}
{{ person.surname }}
{{ 'views.Person.view.gender'|trans }}
{{ ( 'person.gender.' ~ person.genre|default('undefined'))|trans }}

{{ 'views.Person.view.birth'|trans }}

{{ 'views.Person.view.dateOfBirth'|trans }}
{{ person.dateOfBirth.format(date_format) }}
{{ 'views.Person.view.placeOfBirth'|trans }}
{{ person.placeOfBirth }}
{% spaceless %} {% if person.countryOfBirth is not null %} {{ person.countryOfBirth.label }} {% else %} {{ 'views.Person.view.country_of_birth_unknow'|trans }} {% endif %} {% endspaceless %}
{{ include(edit_tmp_name, edit_tmp_args) }}

{{ 'views.Person.view.family'|trans }}

{{ 'views.Person.view.civil_union'|trans }}
{{ ('person.civil_union.' ~ person.civilUnion)|trans }}
{{ 'views.Person.view.nb_of_childs'|trans }}
{% transchoice person.nbOfChild with { '%nb%': person.nbOfChild } %}views.Person.view.nb_of_childs_count{% endtranschoice %}
{{ include(edit_tmp_name, edit_tmp_args) }}

{{ 'views.Person.view.administrative'|trans }}

{{ 'views.Person.view.nationality'|trans }}
{% if person.nationality is not null %} {{ person.nationality.label }} {% else %} {{ 'views.Person.view.without_nationality'|trans }} {% endif %}
{{ 'views.Person.view.national_number'|trans }}
{{ person.belgianNationalNumber }}
{{ include(edit_tmp_name, edit_tmp_args) }}

{{ 'views.Person.view.contact'|trans }}

{{ 'views.Person.view.address'|trans }}
{{ person.address}} 
{{ 'views.Person.view.email'|trans }}
{{ person.email}} 
{% endblock %}