echo $form->error($model, 'sub_id'); ?> </div> <div class="row"> <?php echo $form->labelEx($model, 'batch_id'); ?> <?php //echo $form->textField($model,'batch_id'); ?> <?php //echo $form->dropDownList($model,'batch_id', CHtml::listData(Batch::model()->findAll(), 'batch_id', 'batch_name')); ?> <?php echo $form->dropDownList($model, 'batch_id', Batch::items(), array('empty' => '---------------Select-------------', 'tabindex' => 7)); ?> <span class="status"> </span> <?php echo $form->error($model, 'batch_id'); ?> </div> <!--<div class="row"> <?php echo $form->labelEx($model, 'timetable_id'); ?> <?php echo $form->textField($model, 'timetable_id'); ?> <?php
} ?> <span class="status"> </span> <?php echo $form->error($model, 'student_transaction_division_id'); ?> </div> </div> <div class="row"> <div class="row-left"> <?php echo $form->labelEx($model, 'student_transaction_batch_id'); ?> <?php echo $form->dropDownList($model, 'student_transaction_batch_id', Batch::items(), array('empty' => '-----------Select---------', 'tabindex' => 5)); ?> <span class="status"> </span> <?php echo $form->error($model, 'student_transaction_batch_id'); ?> </div> <div class="row-right"> <?php echo $form->labelEx($model, 'student_transaction_shift_id'); ?> <?php echo $form->dropDownList($model, 'student_transaction_shift_id', Shift::items(), array('empty' => '-----------Select---------', 'tabindex' => 6)); ?> <span class="status"> </span>