1
0
mirror of https://github.com/django/django.git synced 2024-12-24 01:55:49 +00:00

[5.0.x] Fixed #35069 -- Fixed typo in docs/ref/forms/api.txt.

Backport of dc26a3d563 from main
This commit is contained in:
Salvo Polizzi 2023-12-30 10:00:10 +01:00 committed by Mariusz Felisiak
parent c8274ecfe2
commit c69dbc7c10

View File

@ -909,7 +909,7 @@ It's possible to customize that character, or omit it entirely, using the
<div><label for="id_for_cc_myself">Cc myself</label><input type="checkbox" name="cc_myself" id="id_for_cc_myself"></div>
>>> f = ContactForm(auto_id="id_for_%s", label_suffix=" ->")
>>> print(f)
<div><label for="id_for_subject">Subject:</label><input type="text" name="subject" maxlength="100" required id="id_for_subject"></div>
<div><label for="id_for_subject">Subject -&gt;</label><input type="text" name="subject" maxlength="100" required id="id_for_subject"></div>
<div><label for="id_for_message">Message -&gt;</label><textarea name="message" cols="40" rows="10" required id="id_for_message"></textarea></div>
<div><label for="id_for_sender">Sender -&gt;</label><input type="email" name="sender" required id="id_for_sender"></div>
<div><label for="id_for_cc_myself">Cc myself -&gt;</label><input type="checkbox" name="cc_myself" id="id_for_cc_myself"></div>