feat: add typed dto for cms data
This commit is contained in:
@@ -141,10 +141,10 @@
|
||||
{% endmacro %}
|
||||
|
||||
{# Shared by booking create and edit flows; callers should pass one of the flow contexts. #}
|
||||
{% set bookingFlowContext = bookingEditContext|default(bookingCreateContext|default(null)) %}
|
||||
{% set bookingDto = bookingFlowContext.bookingDto %}
|
||||
{% set summaryData = bookingFlowContext.summaryData %}
|
||||
{% set mutableData = bookingFlowContext.mutableData|default(null) %}
|
||||
{% set bookingFlowContext = bookingFlowContext|default(bookingEditContext|default(bookingCreateContext|default(null))) %}
|
||||
{% set bookingDto = bookingDto|default(bookingFlowContext ? bookingFlowContext.bookingDto : null) %}
|
||||
{% set summaryData = summaryData|default(bookingFlowContext ? bookingFlowContext.summaryData : null) %}
|
||||
{% set mutableData = mutableData|default(bookingFlowContext and bookingFlowContext.mutableData is defined ? bookingFlowContext.mutableData : null) %}
|
||||
|
||||
{# Standalone participant form view (replaces main content area) #}
|
||||
{% block participant_form %}
|
||||
|
||||
Reference in New Issue
Block a user