默認情況下,一個form_row(form.name)
呈現爲這樣的:如何更改的Symfony的form_row行爲2 /枝條
<div><label for="form_name" class=" required">Name</label><input type="text" id="form_name" name="form[name]" required="required" maxlength="45" value=""></div>
如何/我在哪裏可以改變的form_row()
行爲,例如:
<div class="someClassName"><label for="form_name" class=" required">Name</label></div><div class="someOtherClassName"><input type="text" id="form_name" name="form[name]" required="required" maxlength="45" value=""></div>
[如何自定義表單呈現](http://symfony.com/doc/currentbook/form-theming-methods) – Trix