title: Yii CActiveForm validation error
body: <p>i'm using </p>
  
  <pre><code>echo $form-&gt;error($model,'username');
  </code></pre>
  
  <p>to display validation errors for attribute. But by default it uses div tag with custom class to wrap message itself. I want to use another tag and class. How can i change it?</p>