From 1b93fcb58d4b37aad08e8a805e31d4120fef9f10 Mon Sep 17 00:00:00 2001
From: Qiang Xue
Date: Wed, 19 Jun 2013 08:37:11 -0400
Subject: [PATCH] Added ActiveForm::mfield().
---
views/site/contact.php | 11 ++++++-----
views/site/login.php | 11 +++++++----
2 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/views/site/contact.php b/views/site/contact.php
index 14a82bc..9c0b6b0 100644
--- a/views/site/contact.php
+++ b/views/site/contact.php
@@ -24,14 +24,15 @@ $this->params['breadcrumbs'][] = $this->title;
$model,
'options' => array('class' => 'form-horizontal'),
'fieldConfig' => array('inputOptions' => array('class' => 'input-xlarge')),
)); ?>
- 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(
+ field('name')->textInput(); ?>
+ field('email')->textInput(); ?>
+ field('subject')->textInput(); ?>
+ field('body')->textArea(array('rows' => 6)); ?>
+ field('verifyCode')->widget(Captcha::className(), array(
'options' => array('class' => 'input-medium'),
)); ?>