mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-24 03:04:22 +00:00
33 lines
1016 B
Twig
33 lines
1016 B
Twig
{% extends 'ChillPersonBundle:AccompanyingCourse:layout.html.twig' %}
|
|
|
|
{% block title %}
|
|
{{ 'Edit Accompanying Course'|trans }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<h1>{{ block('title') }}</h1>
|
|
|
|
<pre>
|
|
{{ accompanyingCourse.id }}
|
|
{{ accompanyingCourse.openingDate|format_date('short') }}
|
|
{{ accompanyingCourse.closingDate|format_date('short') }}
|
|
{{ accompanyingCourse.closingMotive|chill_entity_render_box }}
|
|
{{ accompanyingCourse.remark|raw }}
|
|
{{ accompanyingCourse.user }}
|
|
usagers:
|
|
{% for p in accompanyingCourse.participations %}
|
|
{{ p.person.id }} | <a href="{{ path('chill_person_accompanying_period_list', { person_id: p.person.id }) }}">{{ p.person.fullnamecanonical }}</a> | {{ p.startdate|format_date('short') }} | {{ p.enddate|format_date('short') }}
|
|
{% endfor %}
|
|
</pre>
|
|
|
|
{{ dump() }}
|
|
|
|
<h3>TESTS AREA vuejs:</h3>
|
|
{% verbatim %}
|
|
<div id="app" data-name="{{ app.user.username }}"></div>
|
|
{% endverbatim %}
|
|
{{ encore_entry_script_tags('vuejs') }}
|
|
|
|
{% endblock %}
|