{# * Copyright (C) 2014, Champs Libres Cooperative SCRLFS, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . #} {% extends "ChillMainBundle::layout.html.twig" %} {% block title %}{{ 'views.Person.review.title'|trans }}{% endblock title %} {% block css %} {% stylesheets output="css/all.css" filter="cssrewrite" "bundles/chillperson/css/person.css" %} {% endstylesheets %} {% endblock %} {% block content %}
{% if alternatePersons is not empty %} {% for person in alternatePersons %} {% endfor %}
{{ 'views.Person.review.altName'|trans }} {{ 'views.Person.review.altDateOfBirth'|trans }} {{ 'views.Person.review.altNationality'|trans }}
{{ person }}{% spaceless %}{% if person.isOpen == false %}{% endif %} {% endspaceless %} {{ person.dateOfBirth|date(date_format) }} {% if person.nationality is not null %}{{ person.nationality.name|localize_translatable_string }}{% else %}{{ 'views.Person.view.without_nationality'|trans }}{% endif %}
{% endif %}
{{ form_start(form) }}

{{ 'views.Person.review.you_will_create_this_person'|trans }}

{{ 'First name'|trans }}
{{ firstName }}
{{ 'Last name'|trans }}
{{ lastName }}
{{ 'views.Person.view.dateOfBirth'|trans }}
{{ dateOfBirth|date(date_format)|default( 'person.without_date_of_birth'|trans ) }}
{{ 'views.Person.view.gender'|trans }}
{{ ('person.gender.' ~ genre)|trans }}
{{ 'views.Person.review.creation_date'|trans }}
{{ creation_date|date(date_format) }}
{{ form_rest(form) }} {{ form_end(form) }}
{% endblock content %}