Ejemplo n.º 1
0
                                    <?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($model, 'jurusan_id');
?>
                               <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($model, 'jurusan_id', CHtml::listData(KJurusanM::model()->findAll(), 'jurusan_id', 'jurusan_nama'), array('empty' => '', 'style' => 'width:120px;'));
?>
                                      </div>
                            </div>
                            <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($model, 'alamat_karyawan');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->textArea($model, 'alamat_karyawan', array('rows' => 6, 'cols' => 50));
?>
                                      </div>
                            </div>

                            <div class="mws-form-row">
Ejemplo n.º 2
0
echo $form->labelEx($model, 'alamatemail');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->textField($model, 'alamatemail', array('size' => 25, 'maxlength' => 50, 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
                                      </div>
                            </div>              
                                
                            <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($model, 'jurusan_id');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->dropDownList($model, 'jurusan_id', CHtml::listData(KJurusanM::model()->findAll(), 'jurusan_id', 'jurusan_nama'), array('empty' => '', 'style' => 'width:130px', 'empty' => '--Pilih--', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
                                      </div>
                            </div> 
                     
                                          
                             <div class="mws-form-row">
                                    <?php 
echo $form->labelEx($model, 'alamat_pelamar');
?>
                                     <div class="mws-form-item ">                                            
                                    <?php 
echo $form->textArea($model, 'alamat_pelamar', array('rows' => 6, 'cols' => 35, 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
                                      </div>
                            </div>