HTML5 shorthand for attribute value

This commit is contained in:
MaximAL 2015-12-01 20:11:46 +03:00
parent 7cf2418d88
commit 4b2e0713e3

View File

@ -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() ?>