'Constructor
@param widgets: the widgets (as list)
@param attr: HTML attributes for this form'

def __init__(self, widgets, **attr):

    self.widgets = widgets
    attributes = Storage()
    options = Storage()
    for (k, v) in attr.iteritems():
        if (k[0] == '_'):
            attributes[k] = v
        else:
            options[k] = v
    self.attr = attributes
    self.opts = options
