'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(); ?>