Customizing a form's style

"Mike Orr" <[email protected]> Fri, 15 Sep 2006 12:01:34 -0700
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
I thought forms had an optional name that you could refer to in the
the stylesheet, but it turns out there is no such argument.  Did
something change or am I misremembering?

There is support for a "class" argument but this can only be passed as
**kw and not as a regular argument due to its conflict with a reserved
word.  Should there not be a "css_class" argument to be consistent
with quixote.html?

I ended up doing this:

    form = Form()
    form.attrs["class"] = "quixote MyForm"

-- 
Mike Orr <[email protected]>