<div class="form-group">
    <?php echo CHtml::activeLabelEx($model, 'email'); ?>
    <?php echo CHtml::activeTextField($model, 'email', array('size' => 60, 'maxlength' => 255, 'class' => 'form-control')); ?>
    <?php echo CHtml::error($model, 'email'); ?>
</div>

<div class="form-group">
    <?php echo CHtml::activeLabelEx($model, 'mode'); ?>
    <?php echo CHtml::activeDropDownList($model, 'mode', $this->getModeOptions(), array('class' => 'form-control')); ?>
    <?php echo CHtml::error($model, 'mode'); ?>
</div>
