mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-18 08:14:24 +00:00
29 lines
1.2 KiB
Twig
29 lines
1.2 KiB
Twig
{% extends "ChillMainBundle::layout.html.twig" %}
|
|
|
|
{% block title %}{{ 'views.Person.creation.title'|trans }}{% endblock title %}
|
|
|
|
{% 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) }}
|
|
|
|
<button class="sc-button green" type="submit"><i class="fa fa-plus"></i> {{ 'views.Person.creation.add'|trans }}</button>
|
|
|
|
{{ form_end(form) }}
|
|
</div>
|
|
</div>
|
|
{% endblock content %} |