Example #1
0
?>
            
            
            
			<div class="form-group">
                <?php 
echo CHtml::activeLabel($model, 'show_type', array('class' => 'col-md-3 control-label'));
?>
				<div class="col-md-9">
					<div class="input-icon input-large right">
						<i class="fa fa-exclamation tooltips font-red" style="display:none;" data-original-title="<?php 
echo $model->getError('show_type');
?>
" data-container="body"></i>
                        <?php 
echo CHtml::activeListBox($model, 'show_type', Faq::getShowTypesList(), array('class' => 'form-control', 'size' => (int) TRUE));
?>
					</div>
					<p class="help-block text-danger" style="color: #a94442;"><?php 
echo $model->getError('show_type');
?>
</p>
				</div>
			</div>
            
            
		</div>
		<div class="form-actions">
			<?php 
echo CHtml::submitButton($model->isNewRecord ? Yii::t('app', 'Добавить') : Yii::t('app', 'Сохранить'), array('class' => 'btn green', 'name' => 'btn_save'));
?>