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

Miscellaneous cleanup for tags

This commit is contained in:
Jeremy Stretch
2018-07-12 11:34:35 -04:00
parent f048cf36ce
commit f7f7764a6e
8 changed files with 30 additions and 1 deletions

View File

@@ -918,10 +918,11 @@ class VLANFilterForm(BootstrapMixin, CustomFieldFilterForm):
#
class ServiceForm(BootstrapMixin, CustomFieldForm):
tags = TagField(required=False)
class Meta:
model = Service
fields = ['name', 'protocol', 'port', 'ipaddresses', 'description']
fields = ['name', 'protocol', 'port', 'ipaddresses', 'description', 'tags']
help_texts = {
'ipaddresses': "IP address assignment is optional. If no IPs are selected, the service is assumed to be "
"reachable via all IPs assigned to the device.",