{% spaceless %} {% for form in forms %} {% if form.id == attributes.form %}
{% for field in form.fields %}
{% if field.type == 'text' %} {% endif %} {% if field.type == 'email' %} {% endif %} {% if field.type == 'number' %} {% endif %} {% if field.type == 'url' %} {% endif %} {% if field.type == 'tel' %} {% endif %} {% if field.type == 'date' %} {% endif %} {% if field.type == 'time' %} {% endif %} {% if field.type == 'textarea' %} {% endif %} {% if field.type == 'select' %} {% set options = field.options|split(',') %} {% endif %} {% if field.type == 'checklist' %} {% set options = field.options|split(',') %}
{% for option in options %}
{% endfor %}
{% endif %} {% if field.type == 'radiolist' %} {% set options = field.options|split(',') %} {% for option in options %}
{% endfor %}
{% endif %} {% if field.helperText != '' %} {{ field.helperText }} {% endif %}
{% endfor %} {% endif %} {% if form.validate == "true" %}
{% endif %} {% endfor %} There was an error submitting your form
{% endspaceless %}