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

Closes #7681: Add service_id field for provider networks

This commit is contained in:
jeremystretch
2021-12-23 13:50:01 -05:00
parent a03ae295f6
commit bffd22038b
12 changed files with 48 additions and 12 deletions

View File

@@ -62,10 +62,14 @@ class ProviderNetworkBulkEditForm(AddRemoveTagsForm, CustomFieldModelBulkEditFor
queryset=Provider.objects.all(),
required=False
)
description = forms.CharField(
service_id = forms.CharField(
max_length=100,
required=False
)
description = forms.CharField(
max_length=200,
required=False
)
comments = CommentField(
widget=SmallTextarea,
label='Comments'
@@ -73,7 +77,7 @@ class ProviderNetworkBulkEditForm(AddRemoveTagsForm, CustomFieldModelBulkEditFor
class Meta:
nullable_fields = [
'description', 'comments',
'service_id', 'description', 'comments',
]