{% if include.subject %} {% assign subject = include.subject %} {% else %} {% assign subject = include.form.subject %} {% endif %} {% if include.next %} {% assign next = include.next %} {% else %} {% assign next = include.form.next %} {% endif %}
{% for field in include.form.fields %} {% if field.type == 'text' %} {% elsif field.type == 'email' %} {% elsif field.type == 'select' %} {% elsif field.type == 'submit' %} {% endif %} {% endfor %}