fair point. i'd been reading somewhere about using : {% for field in form %} {{ field.errors }} <p class="question">{{ field.label_tag }}:{{ field }}</ p> {% endfor %}
to get rid of this issue. having just swapped it back to {{ form.as_p }} its all working nice and cleanly. will do a little more testing. On Jan 24, 5:20 pm, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Monday, January 24, 2011 5:06:53 PM UTC, shofty wrote: > > > I realise i might be touching on something old here since i think i've > > found a bug submission on it, but that only talks about in the > > admin... > > > so this is my declaration of a form field... > > > fields = { 'xxx_venue' : > > forms.CharField(widget=forms.HiddenInput(attrs={'class':'hideme','value':th > > is_venue}), > > > label=""), > > > and used a hiddeninput to hide it, but i still get the label. so i've > > hidden the label by blanking it and i still get the colon between the > > empty label and the hidden input. > > > the class hideme that i've applied only applies to the input, not to > > the label or the colon between the two. > > > is this actually a bug? > > is this the same ashttp://code.djangoproject.com/ticket/11277? > > is there an obvious way round this which doesn't involve using jquery? > > How are you outputting the field? > -- > DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.