From 9089f5cf670c5a85966c844f2cf20fcbf7e68a41 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Tue, 5 Oct 2021 15:37:49 -0400 Subject: [PATCH] #7450: Clean up object edit forms --- .../circuits/circuittermination_edit.html | 5 +- netbox/templates/dcim/cable_connect.html | 10 +- netbox/templates/dcim/device_edit.html | 153 +++++++++--------- netbox/templates/dcim/inc/cable_form.html | 1 - netbox/templates/dcim/interface_edit.html | 8 +- netbox/templates/dcim/rack_edit.html | 26 ++- netbox/templates/dcim/virtualchassis_add.html | 8 +- .../templates/dcim/virtualchassis_edit.html | 6 +- netbox/templates/generic/object_edit.html | 38 ++--- netbox/templates/ipam/ipaddress_bulk_add.html | 8 +- netbox/templates/ipam/ipaddress_edit.html | 14 +- netbox/templates/ipam/service_edit.html | 3 +- netbox/templates/ipam/vlan_edit.html | 11 +- .../virtualization/vminterface_edit.html | 8 +- 14 files changed, 129 insertions(+), 170 deletions(-) diff --git a/netbox/templates/circuits/circuittermination_edit.html b/netbox/templates/circuits/circuittermination_edit.html index 76ef4a5d2..9ba41216d 100644 --- a/netbox/templates/circuits/circuittermination_edit.html +++ b/netbox/templates/circuits/circuittermination_edit.html @@ -5,7 +5,7 @@ {% block title %}{{ obj.circuit.provider }} {{ obj.circuit }} - Side {{ form.term_side.value }}{% endblock %} {% block form %} -
+
Circuit Termination
@@ -53,9 +53,8 @@
{% endwith %}
-
-
+
Termination Details
diff --git a/netbox/templates/dcim/cable_connect.html b/netbox/templates/dcim/cable_connect.html index 83891bc21..03dcaa2e4 100644 --- a/netbox/templates/dcim/cable_connect.html +++ b/netbox/templates/dcim/cable_connect.html @@ -17,9 +17,7 @@
-
- A Side -
+
A Side
{% if termination_a.device %} {# Device component #} @@ -100,9 +98,7 @@
-
- B Side -
+
B Side
{% if tabs %}