Code

Ticket #4762: 4762.patch

File 4762.patch, 525 bytes (added by SmileyChris, 7 years ago)
  • docs/newforms.txt

     
    678678    <form method="post"> 
    679679    <dl> 
    680680    {% for field in form %} 
    681         <dt>{{ field.label }}</dt> 
     681        <dt>{{ field.label_tag }}</dt> 
    682682        <dd>{{ field }}</dd> 
    683683        {% if field.help_text %}<dd>{{ field.help_text }}</dd>{% endif %} 
    684684        {% if field.errors %}<dd class="myerrors">{{ field.errors }}</dd>{% endif %}