diff --git a/mirzaev/skillparts/system/views/account/index.php b/mirzaev/skillparts/system/views/account/index.php index cf49b82..f58df20 100644 --- a/mirzaev/skillparts/system/views/account/index.php +++ b/mirzaev/skillparts/system/views/account/index.php @@ -4,7 +4,8 @@ declare(strict_types=1); use yii\helpers\Html; use yii\bootstrap\ActiveForm; -use app\models\AccountForm; + +use app\models\Account; ?> @@ -25,7 +26,7 @@ use app\models\AccountForm; ] ]); - $model = $model ?? new AccountForm; + $model = $model ?? new Account; ?> field($model, 'mail', ['enableLabel' => false, 'options' => ['class' => 'mb-2']])->textInput(['autofocus' => true, 'placeholder' => $model->getAttributeLabel('mail')]) ?>