{% extends "chrono/manager_home.html" %} {% load i18n %} {% block appbar %}

{{ view.model.get_verbose_name }}

{% endblock %} {% block content %}
{% if cancellation_forbidden %}
{% blocktrans trimmed %} This event has bookings with no callback url configured. Their cancellation must be handled individually from the forms attached to them. Only then, cancelling this event will be allowed. {% endblocktrans %}
{% else %} {% csrf_token %}

{% trans "Are you sure you want to cancel this event?" %} {% if bookings_count %} {% if cancel_bookings %} {% blocktrans trimmed count count=bookings_count %} {{ count }} related booking will also be cancelled. {% plural %} {{ count }} related bookings will also be cancelled. {% endblocktrans %} {% else %} {% trans "Related bookings will have to be manually cancelled if needed." %} {% endif %} {% endif %}

{{ form.as_p }}
{% trans 'Abort' %}
{% endif %}
{% endblock %}