diff -r 58556f9317c9 -r 9c414dbc76da web/views/forms.py --- a/web/views/forms.py Thu Jul 30 15:19:29 2009 +0200 +++ b/web/views/forms.py Thu Jul 30 18:49:24 2009 +0200 @@ -20,16 +20,49 @@ class FieldsForm(form.Form): + """base class for fields based forms. + + The following attributes may be either set on subclasses or given on + form selection to customize the generated form: + + * `needs_js`: sequence of javascript files that should be added to handle + this form (through `req.add_js`) + + * `needs_css`: sequence of css files that should be added to handle this + form (through `req.add_css`) + + * `domid`: value for the "id" attribute of the