mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #5749 -- Added field_name as a key in the _html_output dict
Thanks SmileyChris for the suggestion.
This commit is contained in:
@@ -185,7 +185,8 @@ class BaseForm(object):
|
||||
'label': force_text(label),
|
||||
'field': six.text_type(bf),
|
||||
'help_text': help_text,
|
||||
'html_class_attr': html_class_attr
|
||||
'html_class_attr': html_class_attr,
|
||||
'field_name': bf.html_name,
|
||||
})
|
||||
|
||||
if top_errors:
|
||||
|
||||
Reference in New Issue
Block a user