示例#1
0
文件: hospital.php 项目: ph7pal/mei
echo $form->textField($model, 'address', array('class' => 'form-control'));
?>
		<?php 
echo $form->error($model, 'address');
?>
            </div>
		
	</div>

	<div class="form-group">
            <?php 
echo $form->labelEx($model, 'classify', array('class' => 'col-sm-2 control-label'));
?>
            <div class="col-sm-10">
                <?php 
echo $form->dropDownList($model, 'classify', Hospital::exClassify('admin'), array('class' => 'form-control', 'empty' => '--请选择--'));
?>
		<?php 
echo $form->error($model, 'classify');
?>
            </div>
		
	</div>

	<div class="form-group">
            <?php 
echo $form->labelEx($model, 'class', array('class' => 'col-sm-2 control-label'));
?>
            <div class="col-sm-10">
                <?php 
echo $form->dropDownList($model, 'class', Hospital::exClass('admin'), array('class' => 'form-control', 'empty' => '--请选择--'));