Skip to content

Commit

Permalink
Cos
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Apr 26, 2024
1 parent 5db3828 commit 2875d79
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions app/templates/Cos/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]]);
}

0 comments on commit 2875d79

Please sign in to comment.