mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #32338 -- Added Boundfield.legend_tag().
This commit is contained in:
committed by
Mariusz Felisiak
parent
81739a45b5
commit
eba9a9b7f7
@@ -185,3 +185,4 @@ class CheckboxSelectMultipleTest(WidgetTest):
|
||||
bound_field = TestForm()['f']
|
||||
self.assertEqual(bound_field.field.widget.id_for_label('id'), '')
|
||||
self.assertEqual(bound_field.label_tag(), '<label>F:</label>')
|
||||
self.assertEqual(bound_field.legend_tag(), '<legend>F:</legend>')
|
||||
|
||||
Reference in New Issue
Block a user