{% load codeless_django_tags %} {% for option in field_class|get_options_with_default_values %} {%if option.type == 'dropdown' %} {% include 'codeless_django/forms/dropdown_option.html' with name=option.name default=option.default %}
{%endif%} {%if option.type == 'choice' %} {% include 'codeless_django/forms/choice_option.html' with name=option.name default=option.default choices=option.choices%}
{%endif%} {%if option.type == 'number' %} {%endif%} {%if option.type == 'text' %} {%endif%} {%endfor%}