I have a simple form
class MyForm(forms.Form):
...
fieldname = forms.CharField(help_text="Some help text")
I can then display this form with django's handy {{ form.as_ul }}
if I like, now I need to stylise the help_text and I have no idea how. Django doesn't appear to wrap that string in anything that will let my CSS get to it so at the moment, I've restored to:
class MyForm(forms.Form):
...
fieldname = forms.CharField(help_text='<div class="helptext">Some help text</div>')
Which I know is wrong so I'm looking here for better advice.