Hi! can we call the _form in index if it already call the _view?
Hi! can we call the _form in index if it already call the _view?
Yes, you could use renderPartial(’_form’) in the index.php view file to achieve the same.
you can use something like this:
<?php $this->renderPartial('//modelname_in_views/_form', array('user'=>$this->user,)); ?>
cheers