Autofocus on username field

Useful UX improvement
This commit is contained in:
MaximAL 2015-12-01 19:58:38 +03:00
parent 0970b6fdad
commit 7cf2418d88

View File

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