{% for model_field in view_model.fields -%} {{ model_field.field_name | split(pat="_") | join(sep=" ") | title }} {% if model_field.select_list != "" %} {% if model_field.is_option %} {% else %} Select {% endif %} {% for select_list_item in select_lists[model_field.field_name] -%} {{ select_list_item[1] | split(pat="_") | join(sep=" ") | title }} {%- endfor %} {% else %} {% endif %} {%- endfor %} Save Cancel