From 2875d79302fd7484c8deb0e77073728a4d921b51 Mon Sep 17 00:00:00 2001 From: Ioannis Igoumenos Date: Fri, 26 Apr 2024 11:26:51 +0300 Subject: [PATCH] Cos --- app/templates/Cos/fields.inc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/app/templates/Cos/fields.inc b/app/templates/Cos/fields.inc index 258f85d7d..fd9658a47 100644 --- a/app/templates/Cos/fields.inc +++ b/app/templates/Cos/fields.inc @@ -27,9 +27,18 @@ // This view supports read-only only for the COmanage CO if($vv_action == 'add' || $vv_action == 'edit' || ($vv_action == 'view' && $vv_obj->name == 'COmanage')) { - print $this->Field->control('name'); - - print $this->Field->control('description'); + print $this->element('form/listItem', [ + 'arguments' => [ + 'fieldName' => 'name' + ]]); - print $this->Field->control('status', ['empty' => false]); + print $this->element('form/listItem', [ + 'arguments' => [ + 'fieldName' => 'description' + ]]); + + print $this->element('form/listItem', [ + 'arguments' => [ + 'fieldName' => 'status' + ]]); }