beginWidget('CActiveForm', array( 'id'=>'video-form', // Please note: When you enable ajax validation, make sure the corresponding // controller action is handling ajax validation correctly. // There is a call to performAjaxValidation() commented in generated controller code. // See class documentation of CActiveForm for details on this. 'enableAjaxValidation'=>false, )); ?>

Fields with * are required.

errorSummary($model); ?>
labelEx($model,'type'); ?> textField($model,'type'); ?> error($model,'type'); ?>
labelEx($model,'videoUrl'); ?> textArea($model,'videoUrl',array('rows'=>6, 'cols'=>50)); ?> error($model,'videoUrl'); ?>
labelEx($model,'title'); ?> textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?> error($model,'title'); ?>
labelEx($model,'description'); ?> textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?> error($model,'description'); ?>
labelEx($model,'previewImageUrl'); ?> textArea($model,'previewImageUrl',array('rows'=>6, 'cols'=>50)); ?> error($model,'previewImageUrl'); ?>
isNewRecord ? 'Create' : 'Save'); ?>
endWidget(); ?>