mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
23 lines
661 B
Twig
23 lines
661 B
Twig
{% extends 'ChillPersonBundle:AccompanyingCourse:layout.html.twig' %}
|
|
|
|
{% set title = 'DRAFT' == accompanyingCourse.step ? 'New accompanying course' : 'Edit accompanying course' %}
|
|
|
|
{% block title %}
|
|
{{ title|trans }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div id="accompanying-course"></div> {# <== insert accompanyingCourse vue component #}
|
|
{% endblock %}
|
|
|
|
{% block css %}
|
|
{{ encore_entry_link_tags('accompanying_course') }}
|
|
{% endblock %}
|
|
|
|
{% block js %}
|
|
<script type="text/javascript">
|
|
window.accompanyingCourseId = {{ accompanyingCourse.id|e('js') }};
|
|
</script>
|
|
{{ encore_entry_script_tags('accompanying_course') }}
|
|
{% endblock %}
|