diff --git a/templates/booking/create_step_2.html.twig b/templates/booking/create_step_2.html.twig index a339998..6c1fa5b 100644 --- a/templates/booking/create_step_2.html.twig +++ b/templates/booking/create_step_2.html.twig @@ -24,19 +24,19 @@ {% import _self as macros %} {# Macro to render a field or placeholder with consistent fieldset structure #} -{% macro service_field(participant, fieldName, label, options = {}) %} +{% macro service_field(participant, fieldName, label, options = {}, undefinedLabel = 'Nicht wählbar') %} {% if participant[fieldName] is defined %} {{ form_row(participant[fieldName], options) }} {% else %}
{% endif %} {% endmacro %} {# Specialized macro for checkbox fields (like rental insurance) that need manual fieldset wrapping #} -{% macro checkbox_field(participant, fieldName, label, options = {}) %} +{% macro checkbox_field(participant, fieldName, label, options = {}, undefinedLabel = 'Nicht wählbar') %} {% if participant[fieldName] is defined %}