beginWidget('CActiveForm', array(
'id'=>'article-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,'name'); ?>
textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
error($model,'name'); ?>
labelEx($model,'type'); ?>
textField($model,'type'); ?>
error($model,'type'); ?>
labelEx($model,'title'); ?>
textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
error($model,'title'); ?>
labelEx($model,'content'); ?>
textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>
error($model,'content'); ?>
labelEx($model,'geoLat'); ?>
textField($model,'geoLat'); ?>
error($model,'geoLat'); ?>
labelEx($model,'geoLon'); ?>
textField($model,'geoLon'); ?>
error($model,'geoLon'); ?>
labelEx($model,'externalLink'); ?>
textArea($model,'externalLink',array('rows'=>6, 'cols'=>50)); ?>
error($model,'externalLink'); ?>
isNewRecord ? 'Create' : 'Save'); ?>
endWidget(); ?>