load vue banner component for each page of AccompanyingCourse context

* vue css and js loaded from layout.html.twig
* rename 'show' template to 'edit' template
* overwrite js block for 'edit' template (load all component, not only banner)
This commit is contained in:
2021-05-25 19:05:51 +02:00
parent fc2a2da75f
commit 31252461c9
7 changed files with 70 additions and 36 deletions

View File

@@ -156,4 +156,7 @@
<h2>{{ 'Last events on accompanying course'|trans }}</h2>
{# ==> insert accompanyingCourse vue component #}
<div id="accompanying-course"></div>
{% endblock %}