Procházet zdrojové kódy

#9403: Add labels to device VC fields

jeremystretch před 3 roky
rodič
revize
8e200a9cb4
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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"
     )