mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #32819 -- Established relationship between form fields and their help text.
Thanks Nimra for the initial patch. Thanks Natalia Bidart, Thibaud Colas, David Smith, and Mariusz Felisiak for reviews.
This commit is contained in:
committed by
Mariusz Felisiak
parent
649262a406
commit
966ecdd482
@@ -958,7 +958,8 @@ class TestFieldOverridesByFormMeta(SimpleTestCase):
|
||||
)
|
||||
self.assertHTMLEqual(
|
||||
str(form["slug"]),
|
||||
'<input id="id_slug" type="text" name="slug" maxlength="20" required>',
|
||||
'<input id="id_slug" type="text" name="slug" maxlength="20" '
|
||||
'aria-describedby="id_slug_helptext" required>',
|
||||
)
|
||||
|
||||
def test_label_overrides(self):
|
||||
|
||||
Reference in New Issue
Block a user