Exemple #1
0
                                    <?php 
echo $form->labelEx($model, 'tgllahir_karyawan');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
$this->widget('application.extensions.CJuiDateTimePicker.CJuiDateTimePicker', array('model' => $model, 'attribute' => 'tgllahir_karyawan', 'language' => '', 'mode' => 'date', 'options' => array('dateFormat' => Params::DATE_FORMAT_MEDIUM, 'changeYear' => true, 'changeMonth' => true, 'yearRange' => '-70y:+4y', 'maxDate' => 'd', 'showAnim' => 'fold', 'timeText' => 'Waktu', 'hourText' => 'Jam', 'minuteText' => 'Menit', 'secondText' => 'Detik', 'showSecond' => true, 'timeFormat' => 'hh:mm:ss', 'showOn' => 'button', 'buttonImage' => Yii::app()->baseUrl . "/css/icons/32/calendar.png", 'buttonImageOnly' => true), 'htmlOptions' => array('readonly' => true, 'onkeypress' => "return \$(this).focusNextInputField(event)")));
?>
                                      </div>
                            </div>       
                            <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($model, 'jabatan_id');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($model, 'jabatan_id', CHtml::listData(KJabatanM::model()->findAll(), 'jabatan_id', 'jabatan_nama'), array('empty' => '', 'style' => 'width:120px;'));
?>
                                      </div>
                            </div>     
                             <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($model, 'alamatemail');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->textField($model, 'alamatemail', array('size' => 15, 'maxlength' => 50));
?>
                                      </div>
                            </div>
                           <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($modeljk, 'lokasiasal');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($modeljk, 'lokasiasal', CHtml::listData(KLokasiM::model()->findAll(), 'lokasi_nama', 'lokasi_nama'), array('style' => 'width:130;', 'empty' => '--Pilih--', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
                                      </div>
                            </div>
                              
                            <div class="mws-form-row">
                                    <?php 
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>