Add autofocus

This commit is contained in:
jkmssoft
2017-10-25 17:35:14 +02:00
committed by GitHub
parent 24458bac9b
commit 1d1fc3c944

View File

@ -37,7 +37,7 @@ $this->params['breadcrumbs'][] = $this->title;
] ]
); ?> ); ?>
<?= $form->field($model, 'email') ?> <?= $form->field($model, 'email')->textInput(['autofocus' => true]) ?>
<?= $form->field($model, 'username') ?> <?= $form->field($model, 'username') ?>