Problems with textArea

I want to create a textArea in a form, but when I generate this, apear an error, my code is follows:

<?php

$this->pageTitle=Yii::app()->name . ’ - Contact Us’;

$this->breadcrumbs=array(

'Contact',

);

?>

<h1>Contact Us</h1>

<?php if(Yii::app()->user->hasFlash(‘contact’)): ?>

<div class="flash-success">

&lt;?php echo Yii::app()-&gt;user-&gt;getFlash('contact'); ?&gt;

</div>

<?php else: ?>

<p>

If you have business inquiries or other questions, please fill out the following form to contact us. Thank you.

</p>

<div class="form">

<?php $form=$this->beginWidget(‘CActiveForm’, array(

'id'=&gt;'contact-form',


'enableClientValidation'=&gt;true,


'clientOptions'=&gt;array(


	'validateOnSubmit'=&gt;true,


),

)); ?>

&lt;p class=&quot;note&quot;&gt;Fields with &lt;span class=&quot;required&quot;&gt;*&lt;/span&gt; are required.&lt;/p&gt;





&lt;?php echo &#036;form-&gt;errorSummary(&#036;model); ?&gt;





&lt;div class=&quot;row&quot;&gt;


	&lt;?php echo &#036;form-&gt;labelEx(&#036;model,'email'); ?&gt;


	&lt;?php echo &#036;form-&gt;textField(&#036;model,'email'); ?&gt;


	&lt;?php echo &#036;form-&gt;error(&#036;model,'email'); ?&gt;


&lt;/div&gt;





&lt;div class=&quot;row&quot;&gt;


	&lt;?php echo &#036;form-&gt;labelEx(&#036;model,'subject'); ?&gt;


	&lt;?php echo &#036;form-&gt;textField(&#036;model,'subject',array('size'=&gt;60,'maxlength'=&gt;128)); ?&gt;


	&lt;?php echo &#036;form-&gt;error(&#036;model,'subject'); ?&gt;


&lt;/div&gt;





&lt;div class=&quot;row&quot;&gt;


	&lt;?php echo &#036;form-&gt;labelEx(&#036;model,'body'); ?&gt;


	&lt;?php echo &#036;form-&gt;textArea(&#036;model,'body',array('rows'=&gt;6, 'cols'=&gt;50)); ?&gt;


	&lt;?php echo &#036;form-&gt;error(&#036;model,'body'); ?&gt;


&lt;/div&gt;





&lt;div class=&quot;row&quot;&gt;


	&lt;?php echo &#036;form-&gt;labelEx(&#036;model,'color picker'); 


 	&#036;this-&gt;widget('application.extensions.colorpicker.EColorPicker', 


          array(


                'name'=&gt;'cp',


                'mode'=&gt;'textfield',


                'fade' =&gt; false,


                'slide' =&gt; false,


                'curtain' =&gt; true,


               )


         );


  ?&gt;


	


&lt;/div&gt;





&#60;&#33;-- campo de texto de prueba--&#62;

<div class="row">

	&lt;?php echo &#036;form-&gt;labelEx(&#036;model,'textarea'); ?&gt; 


	&lt;?php echo &#036;form-&gt;textArea(&#036;model,'textarea',array('rows'=&gt;6, 'cols'=&gt;50)); //and HERE IS THE ERROR?&gt;


&lt;/div&gt;

the error is follows:

Property "ContactForm.textarea" is not defined.

I know it’s a n00b error but, Please Help me!! :(

It says that you do not have an attribute with that name on THAT model

If you wish to create a TEST and use an active form i recommend you to add a property to your model… just to make it clear to you, just add ‘public $textarea’ to your model, and it will work…

Thanks I could solve the error!! =)