Преглед на файлове

#9403: Add labels to device VC fields

jeremystretch преди 3 години
родител
ревизия
8e200a9cb4
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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"
     )