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

Fixes #6680: Allow setting custom field values for VM interfaces on intial creation

This commit is contained in:
jeremystretch
2021-07-01 10:48:24 -04:00
parent 18a9e39be6
commit add95292ce
5 changed files with 28 additions and 47 deletions

View File

@@ -461,7 +461,7 @@ class VMInterfaceCreateView(generic.ComponentCreateView):
queryset = VMInterface.objects.all()
form = forms.VMInterfaceCreateForm
model_form = forms.VMInterfaceForm
template_name = 'virtualization/virtualmachine_component_add.html'
template_name = 'dcim/device_component_add.html'
class VMInterfaceEditView(generic.ObjectEditView):