cerebrate/templates/Organisations/add.php

36 lines
1.2 KiB
PHP

<?php
echo $this->element('genericElements/Form/genericForm', array(
'data' => array(
'description' => __('Organisations can be equivalent to legal entities or specific individual teams within such entities. Their purpose is to relate individuals to their affiliations and for release control of information using the Trust Circles.'),
'model' => 'Organisations',
'fields' => array(
array(
'field' => 'name'
),
array(
'field' => 'uuid',
'label' => 'UUID',
'type' => 'uuid'
),
array(
'field' => 'url'
),
array(
'field' => 'nationality'
),
array(
'field' => 'sector'
),
array(
'field' => 'type'
)
),
'metaTemplates' => empty($metaTemplates) ? [] : $metaTemplates,
'submit' => array(
'action' => $this->request->getParam('action')
)
)
));
?>
</div>