1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #11694 - Remove obsolete SmallTextarea widget

This commit is contained in:
kkthxbye-code
2023-02-10 22:29:34 +01:00
committed by jeremystretch
parent c8faca01f1
commit 8d68b6a2e6
10 changed files with 44 additions and 53 deletions

View File

@ -21,7 +21,6 @@ __all__ = (
'SelectSpeedWidget',
'SelectWithPK',
'SlugWidget',
'SmallTextarea',
'StaticSelect',
'StaticSelectMultiple',
'TimePicker',
@ -33,13 +32,6 @@ QueryParam = Dict[str, QueryParamValue]
ProcessedParams = Sequence[Dict[str, Sequence[JSONPrimitive]]]
class SmallTextarea(forms.Textarea):
"""
Subclass used for rendering a smaller textarea element.
"""
pass
class SlugWidget(forms.TextInput):
"""
Subclass TextInput and add a slug regeneration button next to the form field.