feat: split summary DTOs into typed sub-objects
This commit is contained in:
@@ -65,19 +65,19 @@
|
||||
{% block room_selection_form %}
|
||||
<div id="room-selection-form"{% if htmx_oob_swap is defined and htmx_oob_swap %} hx-swap-oob="true"{% endif %}>
|
||||
{{ form_errors(form) }}
|
||||
{% if bookingCreateContext.groupedRooms.by_room is not empty %}
|
||||
{% if bookingCreateContext.groupedRooms.byRoom is not empty %}
|
||||
<h3>
|
||||
Zimmer
|
||||
</h3>
|
||||
{% for roomId, room in bookingCreateContext.groupedRooms.by_room %}
|
||||
{% for roomId, room in bookingCreateContext.groupedRooms.byRoom %}
|
||||
{{ _self.stepFormField(form.roomSelections[roomId]) }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if bookingCreateContext.groupedRooms.by_pax is not empty %}
|
||||
{% if bookingCreateContext.groupedRooms.byPax is not empty %}
|
||||
<h3>
|
||||
Betten
|
||||
</h3>
|
||||
{% for roomId, room in bookingCreateContext.groupedRooms.by_pax %}
|
||||
{% for roomId, room in bookingCreateContext.groupedRooms.byPax %}
|
||||
{{ _self.stepFormField(form.roomSelections[roomId]) }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user