Quellcode durchsuchen

#9403: Add labels to device VC fields

jeremystretch vor 3 Jahren
Ursprung
Commit
8e200a9cb4
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      netbox/dcim/forms/models.py

+ 2 - 0
netbox/dcim/forms/models.py

@@ -527,10 +527,12 @@ class DeviceForm(TenancyForm, NetBoxModelForm):
     )
     vc_position = forms.IntegerField(
         required=False,
+        label='Position',
         help_text="The position in the virtual chassis this device is identified by"
     )
     vc_priority = forms.IntegerField(
         required=False,
+        label='Priority',
         help_text="The priority of the device in the virtual chassis"
     )