mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-21 09:44:23 +00:00
+ rename existing activity.scss + rename webpack vue accompanyingCourse entrypoint
20 lines
606 B
Twig
20 lines
606 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 js %}
|
|
<script type="text/javascript">
|
|
window.accompanyingCourseId = {{ accompanyingCourse.id|e('js') }};
|
|
window.vueRootComponent = 'app';
|
|
</script>
|
|
{{ encore_entry_script_tags('vue_accourse') }}
|
|
{% endblock %}
|