<ul class="nav nav-tabs" id="myTab">
<li class="">
<a data-toggle="tab" href="#home" aria-expanded="false">
<i class="green ace-icon fa fa-home bigger-120"></i>
Home
</a>
</li>
任何人都可以帮我在juitabs中添加ul课程。
答案 0 :(得分:0)
$this->widget('zii.widgets.jui.CJuiTabs', array(
'tabs'=>array(
"<i class='green ace-icon fa fa-home bigger-120'></i> Approved" =>$this->renderPartial('_approved', array('model' => $model),true),
"<i class='green ace-icon fa fa-home bigger-120'></i> Request"=>$this->renderPartial('_requested', array('model' => $model),true),
"<i class='green ace-icon fa fa-home bigger-120'></i> Denied"=>$this->renderPartial('_denied',array('model'=>$model),true)
),
'headerTemplate' => '<li><a href="{url}" title="{title}">{title}</a></li>',
'options' => array(
'class'=>'tabable',
'collapsible' => true,
'selected'=>$activetab,
),
'id' => 'yw3',
'htmlOptions'=>array(
'class'=>'tabbable',
),
//'class'=>'tabable',
));
这是我的代码