<?php/** * This is the template for generating the form view for the specified model. * The following variables are available in this template: * - $modelClass: the model class name * - $attributes: a list of attribute names to receive form inputs */?><divclass="form"><?phpecho"<?php \$form=\$this->beginWidget('CActiveForm', array( 'id'=>'".$this->class2id($modelClass)."-form', 'enableAjaxValidation'=>false,)); ?>\n";?><pclass="note">Fields with <spanclass="required">*</span> are required.</p><?phpecho"<?php echo \$form->errorSummary(\$model); ?>\n";?><?phpforeach($attributesas$attribute){?><divclass="row"><?phpecho"<?php echo \$form->labelEx(\$model,'$attribute'); ?>\n";?><?phpecho"<?php echo \$form->textField(\$model,'$attribute'); ?>\n";?><?phpecho"<?php echo \$form->error(\$model,'$attribute'); ?>\n";?></div><?php}?><divclass="row buttons"><?phpecho"<?php echo CHtml::submitButton('Submit'); ?>\n";?></div><?phpecho"<?php \$this->endWidget(); ?>\n";?></div><!-- form -->