wip: integrate with bpn-connect for admin crud, calendars

This commit is contained in:
Björn Fromme committed 2026-07-16 09:03:42 +02:00
1 parent 90b0726f0d
commit f0b68b2cc4
12 files changed
+481 -35

No files matched your search

@@ -0,0 +1,17 @@
<div id="calendar-wrapper">
<twig:calendar:grid :months="months"/>
<div class="flex items-center justify-between mt-4">
<button class="button button--secondary button--small"
hx-get="{{ path('app_admin_accommodation_calendar', {id: accommodation.id, month: prevMonth}) }}"
hx-target="#calendar-wrapper"
hx-swap="outerHTML">
← {{ prevLabel }}
</button>
<button class="button button--secondary button--small"
hx-get="{{ path('app_admin_accommodation_calendar', {id: accommodation.id, month: nextMonth}) }}"
hx-target="#calendar-wrapper"
hx-swap="outerHTML">
{{ nextLabel }} →
</button>
</div>
</div>