diff --git a/views/site/contact.php b/views/site/contact.php index 951eaa6..41e87db 100644 --- a/views/site/contact.php +++ b/views/site/contact.php @@ -24,15 +24,14 @@ $this->params['breadcrumbs'][] = $this->title;
$model, 'options' => array('class' => 'form-horizontal'), 'fieldConfig' => array('inputOptions' => array('class' => 'input-xlarge')), )); ?> - field('name')->textInput(); ?> - field('email')->textInput(); ?> - field('subject')->textInput(); ?> - field('body')->textArea(array('rows' => 6)); ?> - field('verifyCode')->widget(Captcha::className(), array( + field($model, 'name')->textInput(); ?> + field($model, 'email')->textInput(); ?> + field($model, 'subject')->textInput(); ?> + field($model, 'body')->textArea(array('rows' => 6)); ?> + field($model, 'verifyCode')->widget(Captcha::className(), array( 'options' => array('class' => 'input-medium'), )); ?>Please fill out the following fields to login:
- $model, - 'options' => array('class' => 'form-horizontal'), -)); ?> - field('username')->textInput(); ?> - field('password')->passwordInput(); ?> - field('rememberMe')->checkbox(); ?> + array('class' => 'form-horizontal'))); ?> + field($model, 'username')->textInput(); ?> + field($model, 'password')->passwordInput(); ?> + field($model, 'rememberMe')->checkbox(); ?>