{# Editing one occurrence. For a booking that belongs to a series this is the "override": only this day moves, the rest of the series is untouched and the occurrence is flagged as differing from it. Releasing lives here too rather than on the floor plan, so a card needs no confirm dialogs or inline CSRF tokens -- clicking your own desk always just opens this. The release button opens the shared confirmation modal over this one. #} {% extends 'htmx_modal.html.twig' %} {% block title %}{{ resource.label }} ändern{% endblock %} {% block content %} {{ form_start(form, { attr: { 'hx-post': form.vars.action, 'hx-target': '#htmx-modal', 'hx-swap': 'outerHTML', } }) }} {{ form_errors(form) }}
{{ resource.type.label }} · {{ booking.date|format_datetime(pattern: 'EEEE, d. MMMM y') }} {%- if resource.group %} · {{ resource.group.label }}{% endif %}
{% if booking.partOfSeries %}