Hello everybody!
When using CForm lack the ability to define an additional class for the <div> that contains form element
For example
$form = new CForm(array(
‘elements’=>array(
'rate'=>array(
'type'=>'text',
'size'=>12,
[color="#0000FF"] ‘rowClass’=>‘someRowClass’,[/color]
),
),
‘buttons’=>array(
'submitButton'=>array(
'type'=>'submit',
),
),
), $model);
This definition will generate element’s row as follow:
<div class="row someRowClass">…</div>
and this will be usefull to style the row with css