title = \Yii::t('app', 'Контакти'); $this->params[ 'breadcrumbs' ][] = $this->title; $js = <<< JS window.lat = {$settings->lat}; window.lon = {$settings->lon}; JS; $this->registerJs($js, View::POS_END); ?>

street )) { echo $settings->street; if (!empty( $settings->house )) { echo " " . $settings->house; } echo Html::tag('br'); } if (!empty( $settings->city )) { echo $settings->city; if (!empty( $settings->country )) { echo Html::tag('strong', ", " . $settings->country); } } ?>

phone )) { ?>

Телефон

phone); foreach ($phones as $phone){ echo Html::a(Html::tag('strong', $phone), 'tel:' . $phone).'
'; } ?>

email )) { ?>

  • email), 'mailto:' . $settings->email ); ?>

'contact-form', 'method' => 'POST', 'action' => '/site/feedback', ] ); ?>
field($contact, 'name') ->textInput(['autocomplete' => 'off']) ->label(Yii::t('app','name')); ?>
field($contact, 'email') ->textInput(['autocomplete' => 'off']) ->label(Yii::t('app','Email'));?>
field($contact, 'phone') ->textInput(['autocomplete' => 'off']) ->label(Yii::t('app','phone')); ?>
field($contact, 'message') ->textarea( [ 'rows' => 3, ] ) ->label(Yii::t('app','message')); ?>
field($contact, 'reCaptcha')->widget( \himiklab\yii2\recaptcha\ReCaptcha::className(), [ // 'siteKey' => '6LcmYmcUAAAAAASKWf3qnHXJCg9vGfJfDefY9TzW' 'siteKey' => '6LfWrmkUAAAAABrtKhzz_1NbxTaBFRYvmg9bIemf' ] )->label(false) ?>
' . Yii::t('app','Send message'), [ 'class' => 'btn btn-template-main', ] ) ?>