{% extends "_layout.html" %} {% block title %}Form{% endblock %} {% block content %}

Dynamic Form

{% for f in fields %}
{{ f.description }}
{% if f.answer_type == "textarea" %} {% elif f.answer_type == "select" %} {% else %} {% endif %}
{% endfor %}
{% endblock %}