Ejemplo n.º 1
0
echo $form->labelEx($model, 'statusperkawinan');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($model, 'statusperkawinan', CHtml::listData(Params::getLookup(Params::STATUSPERKAWINAN), 'lookup_nama', 'lookup_nama'), array('empty' => '', 'style' => 'width:120px;'));
?>
                                      </div>
                            </div>

                            <div class="mws-form-row">
                                    <?php 
$form->labelEx($model, 'lokasi_id');
?>
                                <div class="mws-form-item ">                                            
                                    <?php 
$form->dropDownList($model, 'lokasi_id', CHtml::listData(KLokasiM::model()->findAll(), 'lokasi_id', 'lokasi_nama'), array('empty' => '', 'style' => 'width:120px;'));
?>
                                      </div>
                            </div>
                                
<!--                            <div class="mws-form-row">
                                    <?php 
//echo $form->labelEx($model,'pelamar_id');
?>
                                <div class="mws-form-item ">                                            
                                    <?php 
//echo $form->dropDownList($model,'pelamar_id', CHtml::listData(KPelamarT::model()->findAll(), 'pelamar_id', 'nama_pelamar'),array('empty'=>''));
?>
                                      </div>
                            </div> -->
                                
Ejemplo n.º 2
0
echo $form->labelEx($modeljk, 'jabatanbaru');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($modeljk, 'jabatanbaru', CHtml::listData(KJabatanM::model()->findAll(), 'jabatan_nama', 'jabatan_nama'), array('style' => 'width:130;', 'empty' => '--Pilih--', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
                                      </div>
                            </div>
                               
                            <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($modeljk, 'lokasibaru');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($modeljk, 'lokasibaru', CHtml::listData(KLokasiM::model()->findAll(), 'lokasi_nama', 'lokasi_nama'), array('style' => 'width:130;', 'empty' => '--Pilih--', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
                                      </div>
                            </div>
                           </td><td>    
                                
                            <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($modeljk, 'fasilitasdiperoleh');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->textArea($modeljk, 'fasilitasdiperoleh', array('style' => 'width:220px;', 'rows' => 6, 'cols' => 50, 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
                                      </div>
                            </div>