diff --git a/netbox/ipam/forms.py b/netbox/ipam/forms.py index baf0cbd2e..483ed7221 100644 --- a/netbox/ipam/forms.py +++ b/netbox/ipam/forms.py @@ -17,6 +17,9 @@ class VRFForm(forms.ModelForm, BootstrapMixin): class Meta: model = VRF fields = ['name', 'rd', 'description'] + labels = { + 'rd': "RD", + } help_texts = { 'rd': "Route distinguisher in any format", } diff --git a/netbox/templates/circuits/circuit_edit.html b/netbox/templates/circuits/circuit_edit.html index 4c20139ca..70b9fc839 100644 --- a/netbox/templates/circuits/circuit_edit.html +++ b/netbox/templates/circuits/circuit_edit.html @@ -1,86 +1,46 @@ -{% extends '_base.html' %} +{% extends 'utilities/obj_edit.html' %} {% load form_helpers %} -{% block title %}{% if obj %}Editing {{ obj }}{% else %}Add a circuit{% endif %}{% endblock %} - -{% block content %} -{% if obj %} -