Selaa lähdekoodia

HTML5 shorthand for attribute value

MaximAL 10 vuotta sitten
vanhempi
commit
4b2e0713e3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      views/site/login.php

+ 1 - 1
views/site/login.php

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