diff --git a/frontend/config/main.php b/frontend/config/main.php index 02c40ee..5b1e1b7 100755 --- a/frontend/config/main.php +++ b/frontend/config/main.php @@ -33,6 +33,7 @@ 'class' => 'himiklab\yii2\recaptcha\ReCaptcha', 'siteKey' => '6LcmYmcUAAAAAASKWf3qnHXJCg9vGfJfDefY9TzW', 'secret' => '6LcmYmcUAAAAACVi_73RmSAIjJlw4BCgQpfUsrPs', + 'type' => 'image' ], 'user' => [ 'identityClass' => 'artbox\order\models\Customer', diff --git a/frontend/views/site/contact.php b/frontend/views/site/contact.php index 5b2114b..9115ea4 100755 --- a/frontend/views/site/contact.php +++ b/frontend/views/site/contact.php @@ -142,24 +142,25 @@ JS;
'contact-form', - 'method' => 'POST', - 'action' => '/site/feedback', + 'id' => 'contact-form', + 'method' => 'POST', + 'action' => '/site/feedback', + ] ); ?>
field($contact, 'name') - ->textInput(); ?> + ->textInput(['autocomplete' => 'off']); ?>
field($contact, 'email') - ->textInput(); ?> + ->textInput(['autocomplete' => 'off']); ?>
field($contact, 'phone') - ->textInput(); ?> + ->textInput(['autocomplete' => 'off']); ?>
field($contact, 'message') -- libgit2 0.21.4