Просмотр файла vkclone-0.0.1/protected/modules/groups/views/topic/_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('Groups', $model->isNewRecord ? 'Create topic' : 'Update topic')); ?> <?php $this->endWidget(); ?> </div>