Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (7 sloc) 289 Bytes

Forms Related Bits

set_form_widgets_attrs

etc.toolbox.set_form_widgets_attrs allows bulk apply HTML attributes to every field widget of a given form.

set_form_widgets_attrs(my_form, {'class': 'clickable'})
You can’t perform that action at this time.