Просмотр файла vkclone-0.0.1/protected/modules/publics/views/public/_form.php
<div class="text"> <?php $form = $this->beginWidget('CActiveForm') ?> <?= $form->errorSummary($model, null, null, array('class' => 'danger_alert')) ?> <?= $form->labelEx($model, 'name') ?> <?= $form->textField($model, 'name') ?><br /> <?= CHtml::submitButton(Yii::t('Publics', $model->isNewRecord ? 'Create public' : 'Update public')); ?> <?php $this->endWidget(); ?> </div>