HTML5 shorthand for attribute value
This commit is contained in:
parent
7cf2418d88
commit
4b2e0713e3
@ -24,7 +24,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
],
|
||||
]); ?>
|
||||
|
||||
<?= $form->field($model, 'username')->textInput(['autofocus' => 'autofocus']) ?>
|
||||
<?= $form->field($model, 'username')->textInput(['autofocus' => true]) ?>
|
||||
|
||||
<?= $form->field($model, 'password')->passwordInput() ?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user