cerebrate/app/templates/Organisations/add.php

43 lines
1.4 KiB
PHP

<?php
$modelForForm = 'Organisations';
echo $this->element('genericElements/Form/genericForm', array(
'form' => $this->Form,
'data' => array(
'entity' => $organisation,
'title' => __('Add new organisation'),
'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' => 'description',
'type' => 'textarea'
),
array(
'field' => 'uuid',
'label' => 'UUID',
'type' => 'uuid'
),
array(
'field' => 'URL'
),
array(
'field' => 'nationality'
),
array(
'field' => 'sector'
),
array(
'field' => 'type'
)
),
'submit' => array(
'action' => $this->request->getParam('action')
)
)
));
?>
</div>