{% extends DYNAMICFORMS.field_base_template %} {% load dynamicforms %} {% block field_input %} {% if field.allow_null or field.allow_blank %} {{ field.null_choice_text }} {% endif %} {% iter_options_bound field as iter_options %} {% for select in iter_options %} {% if select.start_option_group %} {% elif select.end_option_group %} {% elif select.value is not None %} {{ select.display_text }} {% endif %} {% endfor %} {% if DYNAMICFORMS.use_select2 %} {% endif %} {% endblock %}