{% import _self as macros %} {# Macro to render a form field or static value based on field state #} {% macro field_or_static(form, fieldName, label, staticValue, bookingDto, participantIndex, options = {}) %} {% if form[fieldName] is defined %} {# Field is in form structure - render normally as form input #} {{ form_row(form[fieldName], options) }} {% elseif is_static_text(fieldName, bookingDto, participantIndex) %} {# Field excluded from form but should render as static text #}
Leistungen sind erst nach Angabe des Geburtsdatums buchbar
Buchung wegen des Alters von Teilnehmer:in {{ participantIndex + 1 }} nicht möglich