Skip to content

Commit 3527b67

Browse files
committed
Update contact.php
1 parent 4b2e071 commit 3527b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/site/contact.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
<?php $form = ActiveForm::begin(['id' => 'contact-form']); ?>
4545

46-
<?= $form->field($model, 'name') ?>
46+
<?= $form->field($model, 'name')->textInput(['autofocus' => true]) ?>
4747

4848
<?= $form->field($model, 'email') ?>
4949

0 commit comments

Comments
 (0)