mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
49 lines
1.4 KiB
Twig
49 lines
1.4 KiB
Twig
{% extends "ChillMainBundle::layout.html.twig" %}
|
|
|
|
{% block title %}{{ 'views.Person.creation.title'|trans }}{% endblock title %}
|
|
|
|
{% block css %}
|
|
|
|
{% stylesheets output="css/all.css" filter="cssrewrite"
|
|
"bundles/chillperson/css/person.css"
|
|
%}
|
|
<link rel="stylesheet" href="{{ asset_url }}"/>
|
|
{% endstylesheets %}
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
<div id="person_wrapper">
|
|
<div id="person_details">
|
|
{{ form_start(form) }}
|
|
|
|
<h1>{{ 'views.Person.creation.open'|trans }}</h1>
|
|
|
|
{{ form_row(form.name, { 'label' : 'views.Person.view.name'|trans }) }}
|
|
|
|
{{ form_row(form.surname, { 'label' : 'views.Person.view.surname'|trans }) }}
|
|
|
|
{{ form_row(form.dateOfBirth, { 'label' : 'views.Person.view.dateOfBirth'|trans }) }}
|
|
|
|
{{ form_row(form.genre, { 'label' : 'views.Person.view.gender'|trans }) }}
|
|
|
|
{{ form_row(form.creation_date, { 'label' : 'views.Person.review.creation_date'|trans }) }}
|
|
|
|
{{ form_rest(form) }}
|
|
|
|
|
|
<div class="form_control">
|
|
<div class="medium success btn icon-right entypo icon-user-add">
|
|
<button type="submit">{{ 'views.Person.creation.add'|trans }}</button>
|
|
</div>
|
|
</div>
|
|
|
|
{{ form_end(form) }}
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
{% endblock content %} |