create();
echo $form->inputs(null, array('created', 'modified', 'updated'));
echo $form->end(__('Submit', true));
?>
action != 'add'):?>
- link(__('Delete', true), array('action'=>'delete', $form->value($modelClass.'.'.$primaryKey)), null, __('Are you sure you want to delete', true).' #' . $form->value($modelClass.'.'.$primaryKey)); ?>
- link(__('List', true).' '.$pluralHumanName, array('action'=>'index'));?>
$_data) {
foreach ($_data as $_alias => $_details) {
if ($_details['controller'] != $this->name && !in_array($_details['controller'], $done)) {
echo "\t\t- ".$html->link(sprintf(__('List %s', true), Inflector::humanize($_details['controller'])), array('controller'=> $_details['controller'], 'action'=>'index'))."
\n";
echo "\t\t- ".$html->link(sprintf(__('New %s', true), Inflector::humanize(Inflector::underscore($_alias))), array('controller'=> $_details['controller'], 'action'=>'add'))."
\n";
$done[] = $_details['controller'];
}
}
}
?>