Shortcut to initialize all fields with same attributes?
nicolasfranck opened this issue · 1 comments
nicolasfranck commented
It can be tedious to add a list of attributes to every field ( e.g. when specifying the custom
field_list ), especially for rendering.
e.g. I use the widget "Bootstrap3", and I want to add these attributes to every field:
element_wrapper_class: "col-md-10"
label_class: "col-md-2"
to make the horizontal form work again ( "form-horizontal" does not work in bootstrap3 )
Of course, local assigned attributes should have precendence.
Is this possible?
nicolasfranck commented