diff --git a/smtweb-framework/bpm/src/main/resources/static/template/model_list.ftl b/smtweb-framework/bpm/src/main/resources/static/template/model_list.ftl index 1399c2f..c4fc2db 100644 --- a/smtweb-framework/bpm/src/main/resources/static/template/model_list.ftl +++ b/smtweb-framework/bpm/src/main/resources/static/template/model_list.ftl @@ -20,6 +20,7 @@ "shadow": "" }, "children": [ + <#if (group.cfilters?size>0)> { "shape": "panel", "id": "form_panel", @@ -35,7 +36,7 @@ }, "children": [ - <#if (group.cfilters?size>0)> + <#assign fields = group.cfilters> <#list fields as filter> { @@ -56,7 +57,7 @@ "events": {} }, - + { "id": "id${newId()}", @@ -123,6 +124,7 @@ }, "children": [] }, + { "id": "${newId()}", "type": "fx-form-panel",