Adding Class Option For Element In Cform

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(





[color="#0000FF"] ‘rowClass’=>‘someRowClass’,[/color]








), $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