1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #1266: Prevent termination a circuit to an already-connected interface

This commit is contained in:
Jeremy Stretch
2017-06-14 10:57:43 -04:00
parent 16d694734b
commit 78d74261e9

View File

@ -220,7 +220,7 @@ class CircuitTerminationForm(BootstrapMixin, ChainedFieldsMixin, forms.ModelForm
label='Interface', label='Interface',
widget=APISelect( widget=APISelect(
api_url='/api/dcim/interfaces/?device_id={{device}}&type=physical', api_url='/api/dcim/interfaces/?device_id={{device}}&type=physical',
disabled_indicator='is_connected' disabled_indicator='connection'
) )
) )