diff options
| -rw-r--r-- | docs/newforms.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/newforms.txt b/docs/newforms.txt index ac2cfb1f72..19f42cb2ee 100644 --- a/docs/newforms.txt +++ b/docs/newforms.txt @@ -763,7 +763,7 @@ label of each required field:: <form method="post" action=""> <dl> {% for field in form %} - <dt>{{ field.label_tag }}{{ field.label }}{% if field.field.required %}*{% endif %}</dt> + <dt>{{ field.label_tag }}{% if field.field.required %}*{% endif %}</dt> <dd>{{ field }}</dd> {% if field.help_text %}<dd>{{ field.help_text }}</dd>{% endif %} {% if field.errors %}<dd class="myerrors">{{ field.errors }}</dd>{% endif %} |
