<?php
/* @var $this CompanyController */
/* @var $model Company */

//$this->breadcrumbs=array(
//	'Companies'=>array('index'),
//	'Create',
//);

//$this->menu=array(
//	array('label'=>'List Company', 'url'=>array('index')),
//	array('label'=>'Manage Company', 'url'=>array('admin')),
//);

$user_id = Yii::app()->user->getState('__userid');
//$this->menu = array(
////    array('label' => 'List Users', 'url' => array('/user/admin/')),
//   // array('label' => 'List Company', 'url' => array('index')),
//   array('label' => 'List Company', 'url' => array('/company/usercompany/','id'=>$user_id)),
//     array('label' => 'Manage Companies', 'url' => array('/company/useradmin/','id'=>$user_id)),
//);
?>




<h4>Create Company</h4>

<?php $this->renderPartial('_formcreateusercompany', array('model'=>$model, 'user_id' => $user_id, 'modelowner' => $modelowner,)); ?>