浏览代码

#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"
     )