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
On 5/11/2009 12:29 PM, Nash-t wrote:
> 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 for
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
is it possible to have a label-class with newforms?
e.g., when a field is required, it´d be nice to show that with the
label being bold or red or whatever.
moreover, it´d be possible to style individual labels (which is not a
common use-case, but it gives the designer more flexibility).
than
4 matches
Mail list logo