File size: 508B
<?php $form = $this->beginWidget('CActiveForm') ?>
<?= $form->errorSummary($model, null, null, array('class' => 'danger_alert')) ?>
<div class="text">
<?= $form->labelEx($model, 'name') ?>
<?= $form->textField($model, 'name') ?><br />
<?= $form->labelEx($model, 'description') ?>
<?= $form->textField($model, 'description') ?><br />
</div>
<div class="blue_block">
<?= CHtml::submitButton(Yii::t('Groups', $model->isNewRecord ? 'Create group' : 'Update group')); ?>
</div>
<?php $this->endWidget(); ?>