Wednesday, May 19, 2010

custom css class on all form fields

hi,

is it possible to programmatically add a custom css class to each label and field in a djangoform?
i know i can add a class to a specific widget with attrs={} but i need such a class on all labels and fields for many forms.

im using django newforms on appengine with its default version ... so 0.89??!!

thx

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate