How to create a newforms label unattached to an input field?

2009-05-11 Thread Nash-t
I apologize if this is a dumb newbie question... I am trying to create a newform label that doesn't have an associated input field. This label is used as a title for a set of input fields. I don't want to use django templates because of the way the form/data is passed around and saved on the serv

Re: How to create a newforms label unattached to an input field?

2009-05-12 Thread Nash-t
Thanks for the help. I created the custom widget. It works OK but I cannot figure out how to get my custom class (for css) to render . Please check this out when you get a chance. class NakedLabelWidget(forms.Widget): """ A widget that produces a naked label """ def __init__(self, attrs=N