/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
class ClientForm extends BaseClientForm { public function configure() { $fields = $this->getWidgetSchema()->getFields(); foreach ($fields as $f) { $f->setAttribute("class", "client_form_field"); } } }
URL: http://snippets.symfony-project.org/snippet/413
Comments
