{% for item in item_list %}
{% if item.type in ['text','number','email','hidden'] %} {% elif item.type =='password' %} {% elif item.type == 'radio' %} {% for radio_item in item.radio_list %} {% endfor %} {% elif item.type == 'cascader' %} {% elif item.type == 'checkbox' %} {% for checkbox_item in item.checkbox_list %} {% endfor %} {% elif item.type == 'switch' %} {% for switch_item in item.switch_list %} {% endfor %} {% elif item.type == 'select' %} {% elif item.type == 'textarea' %} {% endif %} {% if item.tip %} {{item.tip}} {% endif %}
{% endfor %}