mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
40 lines
1.1 KiB
Twig
40 lines
1.1 KiB
Twig
{% extends "@ChillPerson/AccompanyingCourse/layout.html.twig" %}
|
|
|
|
{% set activeRouteKey = 'chill_calendar_calendar_list' %}
|
|
|
|
{% block title %}{{ 'chill_calendar.Edit a document' |trans }}{% endblock title %}
|
|
|
|
{% set accompanyingCourse = calendar_doc.calendar.accompanyingPeriod %}
|
|
{% set accompanyingCourseId = accompanyingCourse.id %}
|
|
|
|
{% block js %}
|
|
{{ parent() }}
|
|
{{ encore_entry_script_tags('mod_async_upload') }}
|
|
{% endblock %}
|
|
|
|
{% block css %}
|
|
{{ parent() }}
|
|
{{ encore_entry_link_tags('mod_async_upload') }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<h1>{{ 'chill_calendar.Edit a document'|trans }}</h1>
|
|
|
|
{{ form_start(form) }}
|
|
|
|
{{ form_row(form.title) }}
|
|
|
|
<ul class="record_actions sticky-form-buttons">
|
|
<li class="cancel">
|
|
<a class="btn btn-cancel" href="{{ chill_return_path_or('chill_calendar_calendar_list_by_accompanying_period', {'id': accompanyingCourse.id }) }}">{{ 'Cancel'|trans|chill_return_path_label }}</a>
|
|
</li>
|
|
|
|
<li>
|
|
<button class="btn btn-save" type="submit">{{ 'Save'|trans }}</button>
|
|
</li>
|
|
</ul>
|
|
|
|
{{ form_end(form) }}
|
|
{% endblock %}
|