title: How to add class to Form in Yii framework?
body: <p>I have a form in Yii, and I want to add a class to the form :</p>
  
  <pre><code>&lt;form class="subscribe_form" action="#" method="post"&gt;
  </code></pre>
  
  <p>I tried this but it's not working :</p>
  
  <pre><code>&lt;?php $form=$this-&gt;beginWidget('CActiveForm', array(
                                                  'class'=&gt;'subscribe_form',
                          'id'=&gt;'mail-list-addmail-form',
                          'enableAjaxValidation'=&gt;false
                      )); ?&gt;
  </code></pre>
  
  <p>Thanks for helping me!.</p>