{% extends "CLChillMainBundle::layout.html.twig" %} {% block css %} {% stylesheets output="css/all.css" filter="cssrewrite" "bundles/clchillperson/css/person.css" %} {% endstylesheets %} {% endblock %} {% block content %}

{{ person.surname }} {{ person.name }}

{% transchoice person.genreNumeric with {'%date%' : person.dateOfBirth.format('d-m-Y')} %}views.layout.born{% endtranschoice %}

{% if person.nationality is not null %}

{{ person.nationality.label }}

{% else %}

{% trans %}views.layout.without_nationality{% endtrans %}

{% endif %}
{# Note: activeRouteKey should be defined in Controller or child layout #} {{ render(controller("CLChillMainBundle:Menu:writeMenu", { 'menu' : 'person', 'layout': 'CLChillPersonBundle::menu.html.twig', 'args' : {'id': person.id }, 'activeRouteKey': activeRouteKey })) }}
{% block personcontent %}{%endblock%}
{% endblock %}