And, you can specify for each field in a form your own label tekst, which will overwrite the default. See form fields, label. Hth
On 13 mei, 20:42, Ejah <ej.huijb...@gmail.com> wrote: > I would solve this with css. > label { > text-transform: lowercase;} > > Done. > Hth. > > On 13 mei, 12:02, "?manu*" <emanuele.paol...@gmail.com> wrote: > > > > > Hi all, > > > my graphic design prescribes that every label in html FORMS should be > > not capitalized and without any suffix. For example, a "my_date" field > > should be rendered as: > > > <tr><th><label for="id_date">my date</label></th><td><input > > id="id_date" type="text" class="date" value="10.05.2012" name="date" / > > > ></td></tr> > > > To achieve this I need to set a "label" attribute in every Form. For > > ModelForm (Forms automatically created from models) my only > > possibility is to rewrite the entire form "by hand" in the HTML > > template file. > > > Is there a better way to achieve this beahviour? Is it possible to > > redefine the function used to convert the field name to the field > > label? > > > E. -- 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.