Add BaseForm class to soc.views.helper.forms module (work in progress). This changes...
commit9b70aad32235645cb0801786ef581a6452272ba7
authorPawel Solyga <Pawel.Solyga@gmail.com>
Sun, 19 Oct 2008 21:12:08 +0000 (19 21:12 +0000)
committerPawel Solyga <Pawel.Solyga@gmail.com>
Sun, 19 Oct 2008 21:12:08 +0000 (19 21:12 +0000)
tree4d112e202b57679433ab19cef830066b2688f56a
parentbf057e90aefd95d56152811bb7b3f42efbbdd799
Add BaseForm class to soc.views.helper.forms module (work in progress). This changes the way as_table function displays the form (for more information have a look into doc string). BaseForm is going to be used for all forms in Melange in future. Right now it's still missing custom form errors labels and "required" text in 3rd column, but that's added as TODO and I'm working on it.

Patch by: Pawel Solyga
Review by: to-be-reviewed
app/soc/views/helper/forms.py