Fixes #12190: Fix form layout for plugin textarea fields

This commit is contained in:
jeremystretch
2023-04-07 10:03:47 -04:00
parent cbcfc4b256
commit 5982e14814
14 changed files with 6 additions and 66 deletions

View File

@@ -34,8 +34,8 @@ class CommentField(forms.CharField):
Markdown</a> syntax is supported
"""
def __init__(self, *, label='', help_text=help_text, required=False, **kwargs):
super().__init__(label=label, help_text=help_text, required=required, **kwargs)
def __init__(self, *, help_text=help_text, required=False, **kwargs):
super().__init__(help_text=help_text, required=required, **kwargs)
class SlugField(forms.SlugField):