2020-06-25 01:44:26 +02:00
< ? php
echo $this -> element ( 'genericElements/Form/genericForm' , array (
'data' => array (
'description' => __ ( 'Sharing groups are distribution lists usable by tools that can exchange information with a list of trusted partners. Create recurring or ad hoc sharing groups and share them with the members of the sharing group.' ),
'model' => 'Organisations' ,
'fields' => array (
array (
'field' => 'name'
),
[
'field' => 'organisation_id' ,
'type' => 'dropdown' ,
'label' => __ ( 'Owner organisation' ),
2022-01-27 21:10:00 +01:00
'options' => $dropdownData [ 'organisation' ],
'default' => $loggedUser [ 'organisation_id' ]
2020-06-25 01:44:26 +02:00
],
array (
'field' => 'releasability' ,
'type' => 'textarea'
),
array (
'field' => 'description' ,
'type' => 'textarea'
),
array (
'field' => 'uuid' ,
'label' => 'UUID' ,
'type' => 'uuid'
),
array (
'field' => 'active' ,
'type' => 'checkbox' ,
'default' => 1
)
),
'submit' => array (
'action' => $this -> request -> getParam ( 'action' )
)
)
));
?>
</ div >