From 8540731dc43ca96ec6ef331a9e5c2ba7ff16ff71 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Tue, 11 Dec 2007 04:44:48 +0000 Subject: [PATCH] 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 --- docs/newforms.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/newforms.txt b/docs/newforms.txt index ac2cfb1f72b7f..19f42cb2ee08a 100644 --- a/docs/newforms.txt +++ b/docs/newforms.txt @@ -763,7 +763,7 @@ label of each required field::
{% for field in form %} -
{{ field.label_tag }}{{ field.label }}{% if field.field.required %}*{% endif %}
+
{{ field.label_tag }}{% if field.field.required %}*{% endif %}
{{ field }}
{% if field.help_text %}
{{ field.help_text }}
{% endif %} {% if field.errors %}
{{ field.errors }}
{% endif %}