Fixes #11694 - Remove obsolete SmallTextarea widget
This commit is contained in:

committed by
jeremystretch

parent
c8faca01f1
commit
8d68b6a2e6
@@ -12,7 +12,7 @@ from netbox.forms import NetBoxModelForm
|
||||
from tenancy.forms import TenancyForm
|
||||
from utilities.forms import (
|
||||
APISelect, add_blank_choice, BootstrapMixin, ClearableFileInput, CommentField, ContentTypeChoiceField,
|
||||
DynamicModelChoiceField, DynamicModelMultipleChoiceField, JSONField, NumericArrayField, SelectWithPK, SmallTextarea,
|
||||
DynamicModelChoiceField, DynamicModelMultipleChoiceField, JSONField, NumericArrayField, SelectWithPK,
|
||||
SlugField, StaticSelect, SelectSpeedWidget,
|
||||
)
|
||||
from virtualization.models import Cluster, ClusterGroup
|
||||
@@ -149,12 +149,12 @@ class SiteForm(TenancyForm, NetBoxModelForm):
|
||||
'description', 'physical_address', 'shipping_address', 'latitude', 'longitude', 'comments', 'tags',
|
||||
)
|
||||
widgets = {
|
||||
'physical_address': SmallTextarea(
|
||||
'physical_address': forms.Textarea(
|
||||
attrs={
|
||||
'rows': 3,
|
||||
}
|
||||
),
|
||||
'shipping_address': SmallTextarea(
|
||||
'shipping_address': forms.Textarea(
|
||||
attrs={
|
||||
'rows': 3,
|
||||
}
|
||||
@@ -470,7 +470,7 @@ class PlatformForm(NetBoxModelForm):
|
||||
'name', 'slug', 'manufacturer', 'napalm_driver', 'napalm_args', 'description', 'tags',
|
||||
]
|
||||
widgets = {
|
||||
'napalm_args': SmallTextarea(),
|
||||
'napalm_args': forms.Textarea(),
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user