Thanks Russel for your fast reply. My answer is down On 7 feb, 10:05, Russell Keith-Magee <[email protected]> wrote: > On Sat, Feb 7, 2009 at 6:03 PM, Kless <[email protected]> wrote: > > > Does anybody could help me with this? > > First off - please be patient. You've waited less than a day for a > response. Sometimes it will take a day or two to get a response - > especially when you ask your question on a Friday night. Yes, I'm sorry. But I saw that my message is already on the second page or so.
> As for your question - the text displayed by label_tag is derived from > the label on the field in your form definition. If you want the text > to read E-MAIL rather than e-mail, then modify the label property to > suit: > > http://docs.djangoproject.com/en/dev/ref/forms/fields/#django.forms.F... Yes, I supposed that. But the problem is when you want use a form of an external application, and you wann't write a custom form to change simply the case of any letters. This is the case of RegistrationForm in djago-registration [1], which has labes as lower case as *label=_(u'username')* [1] http://bitbucket.org/ubernostrum/django-registration/src/tip/registration/forms.py > Alternatively, fix the problem in CSS using the text-transform property: > > label { text-transform: uppercase; } Thanks for this hint. If there is not a solution to accessing from Django, then I'll use: { text-transform: capitalize; } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

