diff --git a/netbox/circuits/forms/bulk_edit.py b/netbox/circuits/forms/bulk_edit.py index b5f265fd2..1a9366583 100644 --- a/netbox/circuits/forms/bulk_edit.py +++ b/netbox/circuits/forms/bulk_edit.py @@ -30,9 +30,7 @@ class ProviderBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = Provider fieldsets = ( @@ -54,9 +52,7 @@ class ProviderAccountBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = ProviderAccount fieldsets = ( @@ -83,9 +79,7 @@ class ProviderNetworkBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = ProviderNetwork fieldsets = ( @@ -162,9 +156,7 @@ class CircuitBulkEditForm(NetBoxModelBulkEditForm): max_length=100, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = Circuit fieldsets = ( diff --git a/netbox/core/forms/bulk_edit.py b/netbox/core/forms/bulk_edit.py index 24bbf2a46..a4ecd646f 100644 --- a/netbox/core/forms/bulk_edit.py +++ b/netbox/core/forms/bulk_edit.py @@ -30,9 +30,7 @@ class DataSourceBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() parameters = forms.JSONField( label=_('Parameters'), required=False diff --git a/netbox/dcim/forms/bulk_edit.py b/netbox/dcim/forms/bulk_edit.py index 30f6f456d..708cb962a 100644 --- a/netbox/dcim/forms/bulk_edit.py +++ b/netbox/dcim/forms/bulk_edit.py @@ -150,9 +150,7 @@ class SiteBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = Site fieldsets = ( @@ -339,9 +337,7 @@ class RackBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = Rack fieldsets = ( @@ -376,9 +372,7 @@ class RackReservationBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = RackReservation fieldsets = ( @@ -447,9 +441,7 @@ class DeviceTypeBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = DeviceType fieldsets = ( @@ -485,9 +477,7 @@ class ModuleTypeBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = ModuleType fieldsets = ( @@ -616,9 +606,7 @@ class DeviceBulkEditForm(NetBoxModelBulkEditForm): queryset=ConfigTemplate.objects.all(), required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = Device fieldsets = ( @@ -662,9 +650,7 @@ class ModuleBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = Module fieldsets = ( @@ -716,9 +702,7 @@ class CableBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = Cable fieldsets = ( @@ -741,9 +725,7 @@ class VirtualChassisBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = VirtualChassis fieldsets = ( @@ -791,9 +773,7 @@ class PowerPanelBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = PowerPanel fieldsets = ( @@ -863,9 +843,7 @@ class PowerFeedBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = PowerFeed fieldsets = ( diff --git a/netbox/ipam/forms/bulk_edit.py b/netbox/ipam/forms/bulk_edit.py index aef236cd5..548d01afa 100644 --- a/netbox/ipam/forms/bulk_edit.py +++ b/netbox/ipam/forms/bulk_edit.py @@ -51,9 +51,7 @@ class VRFBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = VRF fieldsets = ( @@ -73,9 +71,7 @@ class RouteTargetBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = RouteTarget fieldsets = ( @@ -148,9 +144,7 @@ class ASNBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = ASN fieldsets = ( @@ -179,9 +173,7 @@ class AggregateBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = Aggregate fieldsets = ( @@ -269,9 +261,7 @@ class PrefixBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = Prefix fieldsets = ( @@ -315,9 +305,7 @@ class IPRangeBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = IPRange fieldsets = ( @@ -365,9 +353,7 @@ class IPAddressBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = IPAddress fieldsets = ( @@ -410,9 +396,7 @@ class FHRPGroupBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = FHRPGroup fieldsets = ( @@ -501,9 +485,7 @@ class VLANBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = VLAN fieldsets = ( @@ -534,9 +516,7 @@ class ServiceTemplateBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = ServiceTemplate fieldsets = ( @@ -565,9 +545,7 @@ class L2VPNBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = L2VPN fieldsets = ( diff --git a/netbox/tenancy/forms/bulk_edit.py b/netbox/tenancy/forms/bulk_edit.py index 9a128c954..49866ca3e 100644 --- a/netbox/tenancy/forms/bulk_edit.py +++ b/netbox/tenancy/forms/bulk_edit.py @@ -122,9 +122,7 @@ class ContactBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = Contact fieldsets = ( diff --git a/netbox/virtualization/forms/bulk_edit.py b/netbox/virtualization/forms/bulk_edit.py index cdf07c1bc..cc281a4f7 100644 --- a/netbox/virtualization/forms/bulk_edit.py +++ b/netbox/virtualization/forms/bulk_edit.py @@ -97,9 +97,7 @@ class ClusterBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = Cluster fieldsets = ( @@ -176,9 +174,7 @@ class VirtualMachineBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = VirtualMachine fieldsets = ( diff --git a/netbox/wireless/forms/bulk_edit.py b/netbox/wireless/forms/bulk_edit.py index 9e521215a..4d0b8d8b3 100644 --- a/netbox/wireless/forms/bulk_edit.py +++ b/netbox/wireless/forms/bulk_edit.py @@ -82,9 +82,7 @@ class WirelessLANBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = WirelessLAN fieldsets = ( @@ -131,9 +129,7 @@ class WirelessLinkBulkEditForm(NetBoxModelBulkEditForm): max_length=200, required=False ) - comments = CommentField( - label=_('Comments') - ) + comments = CommentField() model = WirelessLink fieldsets = (