mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-10 01:28:16 -06:00
Fixes 3822: Missing field in form
This commit is contained in:
parent
8a4293a4cc
commit
2bef69cc02
@ -3189,10 +3189,11 @@ class DeviceBayForm(BootstrapMixin, forms.ModelForm):
|
||||
class Meta:
|
||||
model = DeviceBay
|
||||
fields = [
|
||||
'device', 'name', 'description', 'tags',
|
||||
'device', 'installed_device', 'name', 'description', 'tags',
|
||||
]
|
||||
widgets = {
|
||||
'device': forms.HiddenInput(),
|
||||
'installed_device': forms.HiddenInput(),
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user