so im working on a page to learn Yii. this is it: http://devcave.freeiz.com
What i am trying to do is, when i click on login, a div is sliding down, where the login.php form should be. The question is how do i render that into the main.php’s div tag.
i tryed $this->renderPartial(’//site/login’,array(‘model’=>$model)); , but i get Undefined variable: model error. I read trough the Understanding yii view rendering flow but it seems i didnt quit get the point.
Any suggestions please?