mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
Fixes #1718: Set empty label to 'Global' or VRF field in IP assignment form
This commit is contained in:
parent
e50b7174bf
commit
500a56b869
@ -689,7 +689,7 @@ class IPAddressBulkEditForm(BootstrapMixin, CustomFieldBulkEditForm):
|
|||||||
|
|
||||||
|
|
||||||
class IPAddressAssignForm(BootstrapMixin, forms.Form):
|
class IPAddressAssignForm(BootstrapMixin, forms.Form):
|
||||||
vrf = forms.ModelChoiceField(queryset=VRF.objects.all(), required=False, label='VRF')
|
vrf = forms.ModelChoiceField(queryset=VRF.objects.all(), required=False, label='VRF', empty_label='Global')
|
||||||
address = forms.CharField(label='IP Address')
|
address = forms.CharField(label='IP Address')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user