Tabs Function

Hi everyone,

im new in yii, i want use the tabs function in my form but i cant get to it. the idea is i want to put three difference forms which is ‘Personal’, ‘family’, ‘education’, in the tab.

this is the code i do in the ‘create.php’




<?php $this->widget('CTabView',array(

    'tabs'=>array(

        'tab1'=>array(

            'title'=>'personal',

            'view'=>'_form',

	    'data'=>array('model'=>$model)

        ),

       'tab2'=>array(

            'title'=>'family',

            'view'=>'_formFamily',

	    'data'=>array('family'=>$family)

       ),

        'tab3'=>array(

            'title'=>'Education',

            'view'=>'_formEducation',

	    'data'=>array('education'=>$education)

        ),

)))

?>



please somebody help me with this problem. Any help would be much appreciated.

thanks.