<?php
$this->widget(
'booster.widgets.TbSelect2',
array(
'name' => 'Group[][unit]',
'data' => Unit::model()->getAll(),
'value'=>$this->userSession->unit,
'options' => array(
'placeholder' => '请选择',
'width'=>'100%',
),
'htmlOptions' => array(
'id' => 'Group_1_unit',
'class' => 'input-sm no-padding',
),
)
);
?>
<?php
$this->widget(
'booster.widgets.TbSelect2',
array(
'name' => 'hostUnitCode',
'data' => Unit::model()->getAllHasLeader(),
'val'=>'"'.$proposal->hostUnit.'"',
'options' => array(
'placeholder' => '请选择',
'width' => '100%',
),
'htmlOptions' => array(
'class' => 'input-sm no-padding js-host-unit-select',
'id'=>'js-host-unit-select',
),
)
);
?>

所有评论
加载评论 ...
发表评论