mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#9403: Add labels to device VC fields
This commit is contained in:
@ -527,10 +527,12 @@ class DeviceForm(TenancyForm, NetBoxModelForm):
|
|||||||
)
|
)
|
||||||
vc_position = forms.IntegerField(
|
vc_position = forms.IntegerField(
|
||||||
required=False,
|
required=False,
|
||||||
|
label='Position',
|
||||||
help_text="The position in the virtual chassis this device is identified by"
|
help_text="The position in the virtual chassis this device is identified by"
|
||||||
)
|
)
|
||||||
vc_priority = forms.IntegerField(
|
vc_priority = forms.IntegerField(
|
||||||
required=False,
|
required=False,
|
||||||
|
label='Priority',
|
||||||
help_text="The priority of the device in the virtual chassis"
|
help_text="The priority of the device in the virtual chassis"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user