hi i changed create link on CURD Using CHtml like this
$this->menu=array(
array('label'=>'List Company', 'url'=>array('index')),);
[color="#FF0000"] <?php echo CHtml::link(‘Create Company’, array(‘create’)); ?> </p>[/color]
now i need to change delete link like Create how customize using CHtml
array(‘label’=>‘Delete Company’, ‘url’=>’#’, ‘linkOptions’=>array(‘submit’=>array(‘delete’,‘id’=>$model->id),‘confirm’=>‘Are you sure you want to delete this item?’)),
thanks YII…