fetch postParticipation request, catch fetch error, store mutation+action

This commit is contained in:
2021-04-30 15:35:28 +02:00
parent 4900c81c11
commit 35e6d36ce0
4 changed files with 38 additions and 38 deletions

View File

@@ -5,15 +5,13 @@
{% endblock %}
{% block content %}
<h1>{{ block('title') }}</h1>
<div id="accompanying-course"></div>
{% endblock %}
{{ encore_entry_script_tags('accompanying_course') }}
{% block js %}
<script type="text/javascript">
window.accompanyingCourseId = {{ accompanyingCourse.id|e('js') }};
</script>
{{ encore_entry_script_tags('accompanying_course') }}
{% endblock %}