From 4b2e0713e3ba282f9c992e157953147ba7d821c2 Mon Sep 17 00:00:00 2001 From: MaximAL Date: Tue, 1 Dec 2015 20:11:46 +0300 Subject: [PATCH] HTML5 shorthand for attribute value --- views/site/login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/site/login.php b/views/site/login.php index 559be64..498f46f 100644 --- a/views/site/login.php +++ b/views/site/login.php @@ -24,7 +24,7 @@ $this->params['breadcrumbs'][] = $this->title; ], ]); ?> - field($model, 'username')->textInput(['autofocus' => 'autofocus']) ?> + field($model, 'username')->textInput(['autofocus' => true]) ?> field($model, 'password')->passwordInput() ?>