芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/yii/framework/gii/generators/form/templates/default/form.php
/* @var $this getModelClass(); ?>Controller */ /* @var $model getModelClass(); ?> */ /* @var $form CActiveForm */ ?>
beginWidget('CActiveForm', array( 'id'=>'".$this->class2id($this->modelClass).'-'.basename($this->viewName)."-form', // Please note: When you enable ajax validation, make sure the corresponding // controller action is handling ajax validation correctly. // See class documentation of CActiveForm for details on this, // you need to use the performAjaxValidation()-method described there. 'enableAjaxValidation'=>false, )); ?>\n"; ?>
Fields with
*
are required.
errorSummary(\$model); ?>\n"; ?> getModelAttributes() as $attribute): ?>
labelEx(\$model,'$attribute'); ?>\n"; ?> textField(\$model,'$attribute'); ?>\n"; ?> error(\$model,'$attribute'); ?>\n"; ?>
\n"; ?>
endWidget(); ?>\n"; ?>