Skip to content

Commit db72a64

Browse files
committed
Changed DeviceForm.device_type label
1 parent b9e0739 commit db72a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/dcim/forms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ class DeviceForm(forms.ModelForm, BootstrapMixin):
340340
disabled_indicator='device'))
341341
manufacturer = forms.ModelChoiceField(queryset=Manufacturer.objects.all(),
342342
widget=forms.Select(attrs={'filter-for': 'device_type'}))
343-
device_type = forms.ModelChoiceField(queryset=DeviceType.objects.all(), label='Model', widget=APISelect(
343+
device_type = forms.ModelChoiceField(queryset=DeviceType.objects.all(), label='Device type', widget=APISelect(
344344
api_url='/api/dcim/device-types/?manufacturer_id={{manufacturer}}',
345345
display_field='model'
346346
))

0 commit comments

Comments
 (0)