newforms: Cleaned up some un-DRYness by adding Widget.build_attrs(). Also slightly changed flatatt to include a leading space, so the spaces don't have to be hard-coded each time you embed flatatt() results in HTML. Thanks, SmileyChris. Refs #3023
newforms: Cleaned up some un-DRYness by adding Widget.build_attrs(). Also slightly changed flatatt to include a leading space, so the spaces don't have to be hard-coded each time you embed flatatt() results in HTML. Thanks, SmileyChris. Refs #3023

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4071 bcc190cf-cafb-0310-a4f2-bffc1f526a37

--HG--
extra : convert_revision : f33305ab0e73bd3b12c7d98f42dfc23d00f397f1

heracek/django-nonrel,adieu/django-nonrel,adieu/django-nonrel,adieu/django-nonrel,heracek/django-nonrel,heracek/django-nonrel