Исправление багов
This commit is contained in:
parent
78ae20cdac
commit
301b2945bc
|
@ -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;
|
||||
?>
|
||||
|
||||
<?php $form->field($model, 'mail', ['enableLabel' => false, 'options' => ['class' => 'mb-2']])->textInput(['autofocus' => true, 'placeholder' => $model->getAttributeLabel('mail')]) ?>
|
||||
|
|
Reference in New Issue