I think Django's been doing that for a long time (not just 1.2.1).

Probably the quick and easy way to change case would be to use just
field.label and pump it into whatever format you want:

{{ field.label|upper }}

You'll have to manually create the rest of the html for the label
using field.html_name

I've run into some slight problems figuring out the proper id's for
the corresponding labels... Normally it's just
id_{{ field.html_name }} but if you get into auto_id's as well as
labels for more complex things (radio button lists, etc) it can get a
little bit funky.


On Jul 29, 2:42 pm, Jeff Green <jeffhg2...@gmail.com> wrote:
> With Django 1.2.1 it seems that my html template causes the
> field.label to display
> in lower case except for the first character. Has anyone experienced
> this before and how do you
> get it display without lower case conversion
>
> My html template snippet is:
>
> {% for field in form %}
>
>     {{ field.label_tag}}
>
> Thanks,
> Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to