echo $form->error($address, 'student_address_p_state');
?>
	</div>


</div>


<div class="row">

	<div class="row-left">
	<?php 
echo $form->labelEx($address, 'student_address_p_city');
?>
	<?php 
echo $form->dropDownList($address, 'student_address_p_city', City::items(), array('empty' => '-----------Select---------', 'tabindex' => 11));
?>
<span class="status">&nbsp;</span>
	<?php 
echo $form->error($address, 'student_address_p_city');
?>
	</div>

	<div class="row-right">
	
	
	<?php 
echo $form->labelEx($address, 'student_address_p_pin');
?>
	<?php 
echo $form->textField($address, 'student_address_p_pin', array('size' => 11, 'maxlength' => 6, 'tabindex' => 12));
Exemplo n.º 2
0
$guardian_info .= $form->textField($model, 'employee_guardian_home_address', array('size' => 60, 'maxlength' => 200));
$guardian_info .= $form->error($model, 'employee_guardian_home_address');
$guardian_info .= $form->labelEx($model, 'employee_guardian_qualification');
$guardian_info .= $form->textField($model, 'employee_guardian_qualification', array('size' => 50, 'maxlength' => 50));
$guardian_info .= $form->error($model, 'employee_guardian_qualification');
$guardian_info .= $form->labelEx($model, 'employee_guardian_occupation');
$guardian_info .= $form->textField($model, 'employee_guardian_occupation', array('size' => 50, 'maxlength' => 50));
$guardian_info .= $form->error($model, 'employee_guardian_occupation');
$guardian_info .= $form->labelEx($model, 'employee_guardian_income');
$guardian_info .= $form->textField($model, 'employee_guardian_income', array('size' => 15, 'maxlength' => 15));
$guardian_info .= $form->error($model, 'employee_guardian_income');
$guardian_info .= $form->labelEx($model, 'employee_guardian_occupation_address');
$guardian_info .= $form->textField($model, 'employee_guardian_occupation_address', array('size' => 60, 'maxlength' => 200));
$guardian_info .= $form->error($model, 'employee_guardian_occupation_address');
$guardian_info .= $form->labelEx($model, 'employee_guardian_occupation_city');
$guardian_info .= $form->dropDownList($model, 'employee_guardian_occupation_city', City::items());
$guardian_info .= $form->error($model, 'employee_guardian_occupation_city');
$guardian_info .= $form->labelEx($model, 'employee_guardian_city_pin');
$guardian_info .= $form->textField($model, 'employee_guardian_city_pin');
$guardian_info .= $form->error($model, 'employee_guardian_city_pin');
$guardian_info .= $form->labelEx($model, 'employee_guardian_phone_no');
$guardian_info .= $form->textField($model, 'employee_guardian_phone_no');
$guardian_info .= $form->error($model, 'employee_guardian_phone_no');
$guardian_info .= $form->labelEx($model, 'employee_guardian_mobile1');
$guardian_info .= $form->textField($model, 'employee_guardian_mobile1');
$guardian_info .= $form->error($model, 'employee_guardian_mobile1');
$guardian_info .= $form->labelEx($model, 'employee_guardian_mobile2');
$guardian_info .= $form->textField($model, 'employee_guardian_mobile2');
$guardian_info .= $form->error($model, 'employee_guardian_mobile2');
$guardian_info .= $form->labelEx($model, 'employee_faculty_of');
$guardian_info .= $form->textField($model, 'employee_faculty_of', array('size' => 50, 'maxlength' => 50));
Exemplo n.º 3
0
?>
<span class="status">&nbsp;</span>
        <?php 
echo $form->error($info, 'student_guardian_home_address');
?>
</div>


<div class="row">
	
	<div class="row-left">
        <?php 
echo $form->labelEx($info, 'student_guardian_occupation_city');
?>
        <?php 
echo $form->dropdownList($info, 'student_guardian_occupation_city', City::items(), array('empty' => '-----------Select---------', 'tabindex' => 8));
?>
<span class="status">&nbsp;</span>
        <?php 
echo $form->error($info, 'student_guardian_occupation_city');
?>
	</div>

	<div class="row-right">
        <?php 
echo $form->labelEx($info, 'student_guardian_city_pin');
?>
        <?php 
echo $form->textField($info, 'student_guardian_city_pin', array('size' => 10, 'maxlength' => 6, 'tabindex' => 9));
?>
<span class="status">&nbsp;</span>
Exemplo n.º 4
0
        <div class="select-wrap">
            <?php 
echo $form->dropDownList($model, 'region_id', $model->isNewRecord ? array('' => '') : CHtml::listData(Region::items($model->country_id), 'id', 'value'));
?>
        </div>
        <?php 
echo $form->error($model, 'region_id');
?>
    </div>
    <div class="enter-form-row data-header">
        <?php 
echo $form->labelEx($model, 'city_id');
?>
        <div class="select-wrap">
            <?php 
echo $form->dropDownList($model, 'city_id', $model->isNewRecord ? array('' => '') : CHtml::listData(City::items($model->region_id), 'id', 'value'));
?>
        </div>
        <?php 
echo $form->error($model, 'city_id');
?>
    </div>

    <div class="enter-form-row clearfix">
        <div class="sub-row">
            <div class="subtitle">
                <?php 
echo $form->labelEx($model, 'street');
?>
            </div>
            <?php 
Exemplo n.º 5
0
	<div class="row">
		<?php echo $form->labelEx($info,'student_guardian_occupation_address'); ?>
		<?php echo $form->textArea($info,'student_guardian_occupation_address',array('size'=>59,'maxlength'=>100,'style'=>'width:500px;height:80px;margin-bottom:15px')); ?><span class="status">&nbsp;</span>
		<?php echo $form->error($info,'student_guardian_occupation_address'); ?>
	</div>

	<div class="row">
        	<?php echo $form->labelEx($info,'student_guardian_home_address'); ?>
        	<?php echo $form->textArea($info,'student_guardian_home_address',array('size'=>59,'maxlength'=>100,'style'=>'width:500px;height:80px;margin-bottom:15px')); ?><span class="status">&nbsp;</span>
        	<?php echo $form->error($info,'student_guardian_home_address'); ?>
	</div>

	<div class="row">
		<div class="row-left">
			<?php echo $form->labelEx($info,'student_guardian_occupation_city'); ?>
			<?php echo $form->dropdownList($info,'student_guardian_occupation_city', City::items(), array('empty' => 'Select City')); ?><span class="status">&nbsp;</span>
			<?php echo $form->error($info,'student_guardian_occupation_city'); ?>
		</div>
		<div class="row-right">
			<?php echo $form->labelEx($info,'student_guardian_city_pin'); ?>
			<?php echo $form->textField($info,'student_guardian_city_pin',array('size'=>13,'maxlength'=>6)); ?><span class="status">&nbsp;</span>
			<?php echo $form->error($info,'student_guardian_city_pin'); ?>
		</div>
    	</div>

    	<div class="row last">
		<div class="row-left">
			<?php echo $form->labelEx($info,'student_guardian_phoneno'); ?>
			<?php echo $form->textField($info,'student_guardian_phoneno',array('size'=>13,'maxlength'=>15)); ?><span class="status">&nbsp;</span>
			<?php echo $form->error($info,'student_guardian_phoneno'); ?>
		</div>
        	<?php 
echo $form->textField($info, 'student_guardian_home_address', array('size' => 59, 'maxlength' => 100));
?>
<span class="status">&nbsp;</span>
        	<?php 
echo $form->error($info, 'student_guardian_home_address');
?>
	</div>

	<div class="row">
		<div class="row-left">
			<?php 
echo $form->labelEx($info, 'student_guardian_occupation_city');
?>
			<?php 
echo $form->dropdownList($info, 'student_guardian_occupation_city', City::items(), array('empty' => 'Select City'));
?>
<span class="status">&nbsp;</span>
			<?php 
echo $form->error($info, 'student_guardian_occupation_city');
?>
		</div>
		<div class="row-right">
			<?php 
echo $form->labelEx($info, 'student_guardian_city_pin');
?>
			<?php 
echo $form->textField($info, 'student_guardian_city_pin', array('size' => 13, 'maxlength' => 6));
?>
<span class="status">&nbsp;</span>
			<?php 
    $period[$pe_data->academic_terms_period_id] = $pe_data->academic_term_period;
}
?>
	<div class="row">
		<?php 
echo CHtml::label('Academic Year', '');
?>
		<?php 
echo CHtml::dropDownList('acdm_period', null, $period, array('empty' => 'Select Year', 'tabindex' => 2));
?>

		<?php 
echo CHtml::label('City', '');
?>
		<?php 
echo CHtml::dropDownList('city', null, City::items(), array('empty' => 'Select City', 'tabindex' => 5));
?>
	<span class="status">&nbsp;</span>
	</div>

	<div class="row">

		<?php 
echo CHtml::label('Semester', '');
?>
		<?php 
echo CHtml::dropDownList('sem', null, $acdterm, array('empty' => 'Select Semester', 'tabindex' => 3));
?>
		
		<?php 
echo CHtml::label('Category', '');
Exemplo n.º 8
0
?>
		<?php 
echo $form->textField($model, 'employee_address_p_line2', array('size' => 50, 'maxlength' => 50));
?>
<span class="status">&nbsp;</span>
		<?php 
echo $form->error($model, 'employee_address_p_line2');
?>
	</div>

	<div class="row">
		<?php 
echo $form->labelEx($model, 'employee_address_p_city');
?>
		<?php 
echo $form->dropDownList($model, 'employee_address_p_city', City::items());
?>
<span class="status">&nbsp;</span>
		<?php 
echo $form->error($model, 'employee_address_p_city');
?>
	</div>

	<div class="row">
		<?php 
echo $form->labelEx($model, 'employee_address_p_pincode');
?>
		<?php 
echo $form->textField($model, 'employee_address_p_pincode');
?>
<span class="status">&nbsp;</span>
Exemplo n.º 9
0
echo $form->labelEx($model, 'student_address_p_line2');
?>
		<?php 
echo $form->textField($model, 'student_address_p_line2', array('size' => 50, 'maxlength' => 50));
?>
		<?php 
echo $form->error($model, 'student_address_p_line2');
?>
	</div>

	<div class="row">
		<?php 
echo $form->labelEx($model, 'student_address_p_city');
?>
		<?php 
echo $form->dropDownList($model, 'student_address_p_city', City::items());
?>
		<?php 
echo $form->error($model, 'student_address_p_city');
?>
	</div>

	<div class="row">
		<?php 
echo $form->labelEx($model, 'student_address_p_pin');
?>
		<?php 
echo $form->textField($model, 'student_address_p_pin');
?>
		<?php 
echo $form->error($model, 'student_address_p_pin');
Exemplo n.º 10
0
 public function action_ajax()
 {
     $r = Yii::app()->request;
     $c = $this->config;
     switch ($r->getParam('action')) {
         case 'getRegions':
             echo json_encode(Region::items($r->getParam('country_id')));
             break;
         case 'getCities':
             echo json_encode(City::items($r->getParam('region_id')));
             break;
         default:
             echo json_encode(null);
             break;
     }
 }
echo $form->textField($info, 'employee_guardian_occupation_address', array('size' => 59));
?>
<span class="status">&nbsp;</span>
		      <?php 
echo $form->error($info, 'employee_guardian_occupation_address');
?>
	</div>
	
	<div class="row">

		     <div class="row-left">
		      <?php 
echo $form->labelEx($info, 'employee_guardian_occupation_city');
?>
		      <?php 
echo $form->dropDownList($info, 'employee_guardian_occupation_city', City::items(), array('empty' => 'Select City'));
?>
<span class="status">&nbsp;</span>
		      <?php 
echo $form->error($info, 'employee_guardian_occupation_city');
?>
		     </div>


		     <div class="row-right">
		      <?php 
echo $form->labelEx($info, 'employee_guardian_city_pin');
?>
		      <?php 
echo $form->textField($info, 'employee_guardian_city_pin', array('size' => 13));
?>