{{ wizard.name }} {% trans %}Wizard{% endtrans %}
{% if showWarnings and warnings is not empty %} {% endif %}
{% if showWarnings %} {% endif %}
{% for section in wizard.schema.sections %} {% if section.type == 'info' or section.type == 'warning' %} {% if section.title %}
{{ section.title }}
{% endif %}
{{ section.content|default(section.description)|raw }}
{% elseif section.fields %} {% if section.title %}
{{ section.title }}
{% endif %} {% for field in section.fields %}
{% if field.type == 'radio' or field.type == 'checkbox_group' %}
{{ field.label }} {% if field.required %}*{% endif %}
{% else %} {% endif %} {% if field.help %}
{{ field.help|raw }}
{% endif %}
{% if field.type == 'text' or field.type == 'email' or field.type == 'url' %} {% elseif field.type == 'number' %} {% elseif field.type == 'textarea' %} {% elseif field.type == 'select' %} {% elseif field.type == 'radio' %} {% for option in field.options %}
{% endfor %} {% elseif field.type == 'checkbox' %}
{% elseif field.type == 'checkbox_group' %} {% set selected_values = formData[field.name]|default(field.default|default([])) %} {% if selected_values is not iterable %} {% set selected_values = selected_values is empty ? [] : [selected_values] %} {% endif %} {% for option in field.options %}
{% endfor %} {% endif %}
{% endfor %} {% endif %} {% endfor %}