summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristopher Cave-Ayland <c.cave-ayland@imperial.ac.uk>2023-06-01 11:19:11 +0100
committerGitHub <noreply@github.com>2023-06-01 11:19:11 +0100
commit24d56e21c3ce8ec9392e8fecc462426e9ed92bbe (patch)
tree400a92494fa73619e9bc6be113f35c5e1b4493f7 /docs
parent91be6e1818c3cb70890608491eea79e984f98ede (diff)
Fixed #34616 -- Corrected label examples in 5.0 release notes.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/5.0.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt
index 6c16945f1f..f6377cd59b 100644
--- a/docs/releases/5.0.txt
+++ b/docs/releases/5.0.txt
@@ -59,7 +59,7 @@ For example, the template below:
<form>
...
<div>
- {{ form.name.label }}
+ {{ form.name.label_tag }}
{% if form.name.help_text %}
<div class="helptext">{{ form.name.help_text|safe }}</div>
{% endif %}
@@ -67,7 +67,7 @@ For example, the template below:
{{ form.name }}
<div class="row">
<div class="col">
- {{ form.email.label }}
+ {{ form.email.label_tag }}
{% if form.email.help_text %}
<div class="helptext">{{ form.email.help_text|safe }}</div>
{% endif %}
@@ -75,7 +75,7 @@ For example, the template below:
{{ form.email }}
</div>
<div class="col">
- {{ form.password.label }}
+ {{ form.password.label_tag }}
{% if form.password.help_text %}
<div class="helptext">{{ form.password.help_text|safe }}</div>
{% endif %}