mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-17 07:44:24 +00:00
35 lines
840 B
Twig
35 lines
840 B
Twig
{% extends "ChillPersonBundle::layout.html.twig" %}
|
|
|
|
{% set activeRouteKey = null %}
|
|
|
|
{% block title %}{% endblock title %}
|
|
|
|
|
|
{% block personcontent %}
|
|
|
|
{{ form_start(form) }}
|
|
|
|
{{ 'Last opening since %last_opening%'|trans(
|
|
{ '%last_opening%' : history.dateOpening|localizeddate('long', 'none', app.request.locale) }) }}
|
|
|
|
{% if form.dateClosing is defined %}
|
|
{{ form_row(form.dateClosing, {'label' : 'Closing date'} ) }}
|
|
{% endif %}
|
|
|
|
{% if form.closingMotive is defined %}
|
|
{{ form_row(form.closingMotive, {'label' : 'Closing motive'} ) }}
|
|
{% endif %}
|
|
|
|
{{ form_row(form.memo, {'label' : 'Memo' } ) }}
|
|
|
|
{{ form_rest(form) }}
|
|
|
|
<div class="medium btn danger icon-right entypo icon-lock">
|
|
<button type="submit">{{ 'Close person history'|trans }}</button>
|
|
</div>
|
|
|
|
{{ form_end(form) }}
|
|
|
|
|
|
{% endblock personcontent %}
|