summaryrefslogtreecommitdiff
path: root/docs/ref/forms/fields.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-05-29 18:00:47 -0400
committerTim Graham <timograham@gmail.com>2017-05-29 18:01:28 -0400
commit3e17b0222c5b8d3961973e4d8a9fde5ffa4f53e4 (patch)
treed6e64552001922f94a53c836b1726ff9d28dbd46 /docs/ref/forms/fields.txt
parentc341803315c17f79a14acd88aaf1d44a23604c8b (diff)
[1.11.x] Removed incorrect "required" attribute in docs/ref/forms/fields.txt.
Backport of 17ed0d36bc3c380b7d8a0a30ceda09d98ab74fd4 from master
Diffstat (limited to 'docs/ref/forms/fields.txt')
-rw-r--r--docs/ref/forms/fields.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 175aa77f46..e2cfb59df2 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -125,7 +125,7 @@ We've specified ``auto_id=False`` to simplify the output::
>>> f = CommentForm(auto_id=False)
>>> print(f)
<tr><th>Your name:</th><td><input type="text" name="name" required /></td></tr>
- <tr><th>Your website:</th><td><input type="url" name="url" required /></td></tr>
+ <tr><th>Your website:</th><td><input type="url" name="url" /></td></tr>
<tr><th>Comment:</th><td><input type="text" name="comment" required /></td></tr>
``label_suffix``