title = Yii::t('main', 'Contacts'); $this->params['breadcrumbs'][] = $this->title; ?>
'contact-form', 'options' => [ 'class' => 'rd-form rd-mailform', ], 'fieldConfig' => [ 'options' => [ 'tag' => false, ], ], //'enableClientValidation'=>false, ]); ?>
field($model, 'name', [ 'template' => '{input}{error}', 'errorOptions' => [ 'class' => 'form-validation' ], ])->textInput([ 'autofocus' => true, 'class' => 'form-input', 'placeholder' => Yii::t('main', 'Your name'), ])->label(false) ?>
field($model, 'subject', [ 'template' => '{input}{error}', 'errorOptions' => [ 'class' => 'form-validation' ] ])->textInput([ 'class' => 'form-input form-control-has-validation form-control-last-child', 'placeholder' => Yii::t('main', 'Subject'), ])->label(false) ?>
field($model, 'body', [ 'template' => '{input}{error}', 'errorOptions' => [ 'class' => 'form-validation' ] ])->textarea([ 'class' => 'form-input form-control-has-validation form-control-last-child', 'placeholder' => Yii::t('main', 'Message'), ])->label(false) ?>
field($model, 'verifyCode', [ 'errorOptions' => [ 'class' => 'form-validation' ], ])->widget(Captcha::className(), [ 'options' => [ 'class' => 'form-input form-control-has-validation form-control-last-child', 'placeholder' => Yii::t('main', 'Verification Code'), ], 'template' => '
{image}
{input}
', ])->label(false) ?>
'button button-lg button-primary button-block', 'name' => 'submit-button' ]) ?>