diff --git a/apps/advanced/frontend/views/site/contact.php b/apps/advanced/frontend/views/site/contact.php index 97580ca..4202508 100644 --- a/apps/advanced/frontend/views/site/contact.php +++ b/apps/advanced/frontend/views/site/contact.php @@ -25,10 +25,10 @@ $this->params['breadcrumbs'][] = $this->title; = $form->field($model, 'email') ?> = $form->field($model, 'subject') ?> = $form->field($model, 'body')->textArea(['rows' => 6]) ?> - =$form->field($model, 'verifyCode')->widget(Captcha::className(), [ + = $form->field($model, 'verifyCode')->widget(Captcha::className(), [ 'options' => ['class' => 'form-control'], 'template' => '
Hello, =$username?>!
+Hello, = $username ?>!
``` Instead of just scalar values you can pass anything else such as arrays or objects. diff --git a/framework/yii/views/errorHandler/exception.php b/framework/yii/views/errorHandler/exception.php index beebb29..4b90de9 100644 --- a/framework/yii/views/errorHandler/exception.php +++ b/framework/yii/views/errorHandler/exception.php @@ -367,8 +367,8 @@ pre .diff .change{