Fixed #34616 -- Corrected label examples in 5.0 release notes.

This commit is contained in:
Christopher Cave-Ayland 2023-06-01 11:19:11 +01:00 committed by GitHub
parent 91be6e1818
commit 24d56e21c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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 %}