|
|
@@ -11,7 +11,7 @@ from netbox.forms import NetBoxModelBulkEditForm
|
|
|
from tenancy.models import Tenant
|
|
|
from utilities.forms import (
|
|
|
add_blank_choice, BulkEditForm, BulkEditNullBooleanSelect, ColorField, CommentField, DynamicModelChoiceField,
|
|
|
- DynamicModelMultipleChoiceField, form_from_model, SmallTextarea, StaticSelect, SelectSpeedWidget,
|
|
|
+ DynamicModelMultipleChoiceField, form_from_model, StaticSelect, SelectSpeedWidget
|
|
|
)
|
|
|
|
|
|
__all__ = (
|
|
|
@@ -138,7 +138,6 @@ class SiteBulkEditForm(NetBoxModelBulkEditForm):
|
|
|
required=False
|
|
|
)
|
|
|
comments = CommentField(
|
|
|
- widget=SmallTextarea,
|
|
|
label='Comments'
|
|
|
)
|
|
|
|
|
|
@@ -309,7 +308,6 @@ class RackBulkEditForm(NetBoxModelBulkEditForm):
|
|
|
required=False
|
|
|
)
|
|
|
comments = CommentField(
|
|
|
- widget=SmallTextarea,
|
|
|
label='Comments'
|
|
|
)
|
|
|
|
|
|
@@ -345,7 +343,6 @@ class RackReservationBulkEditForm(NetBoxModelBulkEditForm):
|
|
|
required=False
|
|
|
)
|
|
|
comments = CommentField(
|
|
|
- widget=SmallTextarea,
|
|
|
label='Comments'
|
|
|
)
|
|
|
|
|
|
@@ -406,7 +403,6 @@ class DeviceTypeBulkEditForm(NetBoxModelBulkEditForm):
|
|
|
required=False
|
|
|
)
|
|
|
comments = CommentField(
|
|
|
- widget=SmallTextarea,
|
|
|
label='Comments'
|
|
|
)
|
|
|
|
|
|
@@ -441,7 +437,6 @@ class ModuleTypeBulkEditForm(NetBoxModelBulkEditForm):
|
|
|
required=False
|
|
|
)
|
|
|
comments = CommentField(
|
|
|
- widget=SmallTextarea,
|
|
|
label='Comments'
|
|
|
)
|
|
|
|
|
|
@@ -551,7 +546,6 @@ class DeviceBulkEditForm(NetBoxModelBulkEditForm):
|
|
|
required=False
|
|
|
)
|
|
|
comments = CommentField(
|
|
|
- widget=SmallTextarea,
|
|
|
label='Comments'
|
|
|
)
|
|
|
|
|
|
@@ -594,7 +588,6 @@ class ModuleBulkEditForm(NetBoxModelBulkEditForm):
|
|
|
required=False
|
|
|
)
|
|
|
comments = CommentField(
|
|
|
- widget=SmallTextarea,
|
|
|
label='Comments'
|
|
|
)
|
|
|
|
|
|
@@ -644,7 +637,6 @@ class CableBulkEditForm(NetBoxModelBulkEditForm):
|
|
|
required=False
|
|
|
)
|
|
|
comments = CommentField(
|
|
|
- widget=SmallTextarea,
|
|
|
label='Comments'
|
|
|
)
|
|
|
|
|
|
@@ -668,7 +660,6 @@ class VirtualChassisBulkEditForm(NetBoxModelBulkEditForm):
|
|
|
required=False
|
|
|
)
|
|
|
comments = CommentField(
|
|
|
- widget=SmallTextarea,
|
|
|
label='Comments'
|
|
|
)
|
|
|
|
|
|
@@ -714,7 +705,6 @@ class PowerPanelBulkEditForm(NetBoxModelBulkEditForm):
|
|
|
required=False
|
|
|
)
|
|
|
comments = CommentField(
|
|
|
- widget=SmallTextarea,
|
|
|
label='Comments'
|
|
|
)
|
|
|
|
|
|
@@ -776,7 +766,6 @@ class PowerFeedBulkEditForm(NetBoxModelBulkEditForm):
|
|
|
required=False
|
|
|
)
|
|
|
comments = CommentField(
|
|
|
- widget=SmallTextarea,
|
|
|
label=_('Comments')
|
|
|
)
|
|
|
|