{% if draft_preview %}
{{ _("Draft preview — only you can see this. Publish the form to make it public.") }}
{% endif %}

{{ form_title }}

{% if form_description %}

{{ form_description }}

{% endif %}
{% for section in layout %}
{% if section.label %}
{{ section.label }}
{% endif %}
{% for col in section.columns %}
{% for f in col %}
{% if f.fieldtype == "Check" %}
{% else %} {% if f.fieldtype in ("Small Text", "Text", "Long Text", "Text Editor", "HTML Editor", "Markdown Editor") %} {% elif f.fieldtype == "Select" %} {% elif f.fieldtype == "Link" %} {% elif f.fieldtype in ("Int", "Float", "Currency", "Percent") %} {% elif f.fieldtype == "Date" %} {% elif f.fieldtype == "Datetime" %} {% elif f.fieldtype == "Time" %} {% elif f.fieldtype == "Color" %} {% else %} {% endif %} {% endif %} {% if f.description %}
{{ f.description }}
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}