mirror of
https://github.com/django/django.git
synced 2025-12-15 21:45:20 +00:00
Refs #32338 -- Added Boundfield.legend_tag().
This commit is contained in:
parent
81739a45b5
commit
eba9a9b7f7
11 changed files with 188 additions and 24 deletions
|
|
@ -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>')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue