?> <?php echo $form->textFieldGroup($model, 'postoperative_sleep_ahi', array('widgetOptions' => array('htmlOptions' => array('class' => 'span5', 'maxlength' => 255)))); ?> <?php echo $form->textFieldGroup($model, 'recovery_time', array('widgetOptions' => array('htmlOptions' => array('class' => 'span5')))); ?> <!-- 2015-12-29 create --> <?php echo $form->textAreaGroup($model, 'memo', array('widgetOptions' => array('htmlOptions' => array('rows' => 6, 'cols' => 50, 'class' => 'span8')))); ?> <?php echo $form->dropDownListGroup($model, 'is_surgical_priority', array('wrapperHtmlOptions' => array('class' => 'col-sm-5'), 'widgetOptions' => array('data' => ViewHelper::yesOrNotSelectOptions(), 'htmlOptions' => array('prompt' => '未選擇')))); ?> <?php echo $form->dropDownListGroup($model, 'is_outside_dentist', array('wrapperHtmlOptions' => array('class' => 'col-sm-5'), 'widgetOptions' => array('data' => ViewHelper::yesOrNotSelectOptions(), 'htmlOptions' => array('prompt' => '未選擇')))); ?> <div class="form-actions"> <?php $this->widget('booster.widgets.TbButton', array('buttonType' => 'submit', 'context' => 'primary', 'label' => $model->isNewRecord ? 'Create' : 'Save')); ?> </div> <?php $this->endWidget();
?> <?php echo $form->dropDownListGroup($surgeryRecords, 'dentist_id', array('wrapperHtmlOptions' => array('class' => 'col-sm-5'), 'widgetOptions' => array('data' => CHtml::listData($doctors, 'id', 'name'), 'htmlOptions' => array('prompt' => '未選擇')))); ?> <?php echo $form->dropDownListGroup($surgeryRecords, 'pay_type', array('wrapperHtmlOptions' => array('class' => 'col-sm-5'), 'widgetOptions' => array('data' => ViewHelper::payTypeSelectOptions(), 'htmlOptions' => array('prompt' => '未選擇')))); ?> <?php echo $form->textFieldGroup($surgeryRecords, 'complications', array('widgetOptions' => array('htmlOptions' => array('rows' => 6, 'cols' => 50, 'class' => 'span8')))); ?> <?php echo $form->dropDownListGroup($surgeryRecords, 'is_sleep_test', array('wrapperHtmlOptions' => array('class' => 'col-sm-5'), 'widgetOptions' => array('data' => ViewHelper::yesOrNotSelectOptions(), 'htmlOptions' => array('prompt' => '未選擇')))); ?> <?php echo $form->textFieldGroup($surgeryRecords, 'preoperative_sleep_ahi', array('widgetOptions' => array('htmlOptions' => array('class' => 'span5', 'maxlength' => 255)))); ?> <?php echo $form->textFieldGroup($surgeryRecords, 'postoperative_sleep_ahi', array('widgetOptions' => array('htmlOptions' => array('class' => 'span5', 'maxlength' => 255)))); ?> <?php echo $form->textFieldGroup($surgeryRecords, 'recovery_time', array('widgetOptions' => array('htmlOptions' => array('class' => 'span5')))); ?> <div class="form-actions">