{% for model_field in view_model.fields -%} {{ model_field.field_name }} {% if model_field.select_list != "" %} {% if model_field.is_option %} {% endif %} {% for select_list_item in select_lists[model_field.field_name] -%} {{ select_list_item[1] }} {%- endfor %} {% else %} {% endif %} {%- endfor %} Save Cancel