diff --git a/views/site/contact.php b/views/site/contact.php index eb6e0f5..e08c9ae 100644 --- a/views/site/contact.php +++ b/views/site/contact.php @@ -29,9 +29,9 @@ $this->params['breadcrumbs'][] = $this->title;
'contact-form')); ?> - field($model, 'name')->textInput(); ?> - field($model, 'email')->textInput(); ?> - field($model, 'subject')->textInput(); ?> + field($model, 'name'); ?> + field($model, 'email'); ?> + field($model, 'subject'); ?> field($model, 'body')->textArea(array('rows' => 6)); ?> field($model, 'verifyCode')->widget(Captcha::className(), array( 'options' => array('class' => 'form-control'), diff --git a/views/site/login.php b/views/site/login.php index 9eaccef..b00ecf4 100644 --- a/views/site/login.php +++ b/views/site/login.php @@ -18,7 +18,7 @@ $this->params['breadcrumbs'][] = $this->title;
'login-form')); ?> - field($model, 'username')->textInput(); ?> + field($model, 'username'); ?> field($model, 'password')->passwordInput(); ?> field($model, 'rememberMe')->checkbox(); ?>