mirror of
https://github.com/django/django.git
synced 2024-12-24 10:05:46 +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:
parent
c8274ecfe2
commit
c69dbc7c10
@ -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>
|
<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=" ->")
|
>>> f = ContactForm(auto_id="id_for_%s", label_suffix=" ->")
|
||||||
>>> print(f)
|
>>> 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 -></label><input type="text" name="subject" maxlength="100" required id="id_for_subject"></div>
|
||||||
<div><label for="id_for_message">Message -></label><textarea name="message" cols="40" rows="10" required id="id_for_message"></textarea></div>
|
<div><label for="id_for_message">Message -></label><textarea name="message" cols="40" rows="10" required id="id_for_message"></textarea></div>
|
||||||
<div><label for="id_for_sender">Sender -></label><input type="email" name="sender" required id="id_for_sender"></div>
|
<div><label for="id_for_sender">Sender -></label><input type="email" name="sender" required id="id_for_sender"></div>
|
||||||
<div><label for="id_for_cc_myself">Cc myself -></label><input type="checkbox" name="cc_myself" id="id_for_cc_myself"></div>
|
<div><label for="id_for_cc_myself">Cc myself -></label><input type="checkbox" name="cc_myself" id="id_for_cc_myself"></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user