Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #6164 -- `field.label_tag` already displays the label so don't …

…display it again. Thanks, arien.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8540731dc43ca96ec6ef331a9e5c2ba7ff16ff71 1 parent 5adfae3
Gary Wilson Jr. authored December 11, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/newforms.txt
2  docs/newforms.txt
@@ -763,7 +763,7 @@ label of each required field::
763 763
     <form method="post" action="">
764 764
     <dl>
765 765
     {% for field in form %}
766  
-        <dt>{{ field.label_tag }}{{ field.label }}{% if field.field.required %}*{% endif %}</dt>
  766
+        <dt>{{ field.label_tag }}{% if field.field.required %}*{% endif %}</dt>
767 767
         <dd>{{ field }}</dd>
768 768
         {% if field.help_text %}<dd>{{ field.help_text }}</dd>{% endif %}
769 769
         {% if field.errors %}<dd class="myerrors">{{ field.errors }}</dd>{% endif %}

0 notes on commit 8540731

Please sign in to comment.
Something went wrong with that request. Please try again.