<?php

/**
 *
 * var $model SignupForm
 *
 */
    $this->title = 'Редактировать личные данные';
    $this->params['breadcrumbs'][] = $this->title;
    use yii\helpers\Html;
    use yii\helpers\Url;
    use yii\widgets\ActiveForm;
?>

<?php $form = ActiveForm::begin([
    'action'=>''
]); ?>

<div class="modal_wrapper_cabinet">
    <div class="cabinet_window">


        <?= $form->field($model, 'email', [
            'template' => '<label>'.Yii::t('app', 'email').'{input}{error}{hint}</label>',
        ]) ?>



        <?= $form->field($model, 'username',[
            'template' => '<label>'.Yii::t('app', 'username').'{input}{error}{hint}</label>',
        ])->textInput() ?>



        <?= $form->field($model, 'surname',[
            'template' => '<label>'.Yii::t('app', 'surname').'{input}{error}{hint}</label>',
        ])->textInput() ?>



        <?= $form->field($model, 'phone', [
            'template' => '<label>'.Yii::t('app', 'phone').'{input}{error}{hint}</label>',
        ])->textInput() ?>




        <?= Html::submitButton(Yii::t('app', 'Update'), ['class' => 'my_cust_cabinet_btn']) ?>

    </div>
</div>




<?php ActiveForm::end(); ?>