mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 19:08:38 -06:00
Fixes #8714: Remove label from comments form field
This commit is contained in:
parent
2077e12a7e
commit
25a1540e71
@ -31,8 +31,8 @@ class CommentField(forms.CharField):
|
|||||||
Markdown</a> syntax is supported
|
Markdown</a> syntax is supported
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, *, help_text=help_text, required=False, **kwargs):
|
def __init__(self, *, label='', help_text=help_text, required=False, **kwargs):
|
||||||
super().__init__(help_text=help_text, required=required, **kwargs)
|
super().__init__(label=label, help_text=help_text, required=required, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class SlugField(forms.SlugField):
|
class SlugField(forms.SlugField):
|
||||||
|
Loading…
Reference in New Issue
Block a user