cerebrate/templates/SharingGroups/add_org.php

20 lines
550 B
PHP
Raw Permalink Normal View History

<?php
echo $this->element('genericElements/Form/genericForm', [
'data' => [
'model' => 'SharingGroups',
'fields' => [
[
'field' => 'organisation_id',
'type' => 'dropdown',
'label' => __('Owner organisation'),
'options' => $dropdownData['organisation']
],
],
'submit' => [
'action' => $this->request->getParam('action')
],
]
]);
?>
</div>