芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/yii/framework/gii/generators/crud/templates/default/_form.php
/* @var $this getControllerClass(); ?> */ /* @var $model getModelClass(); ?> */ /* @var $form CActiveForm */ ?>
beginWidget('CActiveForm', array( 'id'=>'".$this->class2id($this->modelClass)."-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, )); ?>\n"; ?>
Fields with
*
are required.
errorSummary(\$model); ?>\n"; ?> tableSchema->columns as $column) { if($column->autoIncrement) continue; ?>
generateActiveLabel($this->modelClass,$column)."; ?>\n"; ?> generateActiveField($this->modelClass,$column)."; ?>\n"; ?> error(\$model,'{$column->name}'); ?>\n"; ?>
isNewRecord ? 'Create' : 'Save'); ?>\n"; ?>
endWidget(); ?>\n"; ?>