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