[patch] Newforms - widgets should use id and forms should use labels
|Reported by:||SmileyChris||Owned by:||adrian|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Firstly, widgets should use id if a name is given. When I did this I cleaned up some un-DRYness in the widget code.
Secondly, forms should use labels when outputting.
The new Label widget uses the name as the for attribute.
I went through all the tests and fixed them up.