CForm div html

Can anyone tell me if it’s possible to apply an htmlOption to the wrapping div of a CForm element inside the config array? Currently it spits out a css class of “row”… all very well and good, but not that helpful when i need to override.









Am I going to need to create a class that extends CForm specfically to apply a preferred css class to the wrapping div?

Well… I’ll answer my own question.

No. Not possible in the config array. Bit stupid and renders the main point of the CForm class a little redundant.

Line 504: CForm.php 

return "<div class=\"row field_{$element->name}\">\n".$element->render()."</div>\n";