示例#1
0
                                    <?php 
echo $form->labelEx($model, 'kabupatenkota_id');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($model, 'kabupatenkota_id', CHtml::listData(KKabupatenkotaM::model()->findAll(), 'kabupatenkota_id', 'kabupatenkota_nama'), array('empty' => '', 'style' => 'width:200px;'));
?>
                                      </div>
                            </div>
                            <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($model, 'departement_id');
?>
                                <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($model, 'departement_id', CHtml::listData(KDepartementM::model()->findAll(), 'departement_id', 'departement_nama'), array('empty' => '', 'style' => 'width:120px;'));
?>
                                      </div>
                            </div>    
                            <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($model, 'subdepartement_id');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($model, 'subdepartement_id', CHtml::listData(KSubdepartementM::model()->findAll(), 'subdepartement_id', 'subdepartement_nama'), array('empty' => '', 'style' => 'width:120px;'));
?>
                                      </div>
                            </div>        
                             <div class="mws-form-row">
                                    <?php 
//echo $form->labelEx($modeljk,'karyawan_id');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
//echo $form->textField($modeljk,'karyawan_id');
?>
                                      </div>
                            </div>-->
                            
                            <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($modeljk, 'departement_nama');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($modeljk, 'departement_nama', CHtml::listData(KDepartementM::model()->findAll(), 'departement_nama', 'departement_nama'), array('style' => 'width:130;', 'empty' => '--Pilih--', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
                                      </div>
                            </div>
                               
                            <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($modeljk, 'jabatanasal');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($modeljk, 'jabatanasal', CHtml::listData(KJabatanM::model()->findAll(), 'jabatan_nama', 'jabatan_nama'), array('style' => 'width:130;', 'empty' => '--Pilih--', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
                                      </div>
                            </div>