Quellcode durchsuchen

Update contact.php

MaximAL vor 10 Jahren
Ursprung
Commit
3527b6712c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      views/site/contact.php

+ 1 - 1
views/site/contact.php

@@ -43,7 +43,7 @@ $this->params['breadcrumbs'][] = $this->title;
 
                 <?php $form = ActiveForm::begin(['id' => 'contact-form']); ?>
 
-                    <?= $form->field($model, 'name') ?>
+                    <?= $form->field($model, 'name')->textInput(['autofocus' => true]) ?>
 
                     <?= $form->field($model, 'email') ?>