diff --git a/cake/libs/view/templates/scaffolds/edit.ctp b/cake/libs/view/templates/scaffolds/edit.ctp index f39511ed0..acc5caa59 100644 --- a/cake/libs/view/templates/scaffolds/edit.ctp +++ b/cake/libs/view/templates/scaffolds/edit.ctp @@ -25,9 +25,9 @@ */ ?>
-create($modelClass);?> -inputs(null, array('created', 'modified', 'updated'));?> create(); + echo $form->inputs(null, array('created', 'modified', 'updated')); echo $form->end(__('Submit', true)); ?>