Rendering Forms Partially

Hi ,

I have a user table which contains around 12 columns , my user registration process is devided in to 2 steps , in the first step I will ask the user to enter email and password and reset of the inputs will be taken in the setp 2 of user registration , so I want render a user registration form with 2 fields in step 1 , I don’t have any idea how I will render a partial form in YII

its simple Basant, try this

$this->renderPartial('your_view_name', array('model'=>$model, ));

Hi mannu ,

It is actually quite easy , thanks