From f6746c7530fca9e3014ceb97183da37e24071d0c Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Thu, 29 Jul 2021 10:48:12 -0400 Subject: [PATCH] Clean up cable connection form --- netbox/templates/dcim/cable_connect.html | 16 ++++++++-------- netbox/templates/dcim/inc/cable_form.html | 10 +++++----- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/netbox/templates/dcim/cable_connect.html b/netbox/templates/dcim/cable_connect.html index 0554e5b6e..e012c23b9 100644 --- a/netbox/templates/dcim/cable_connect.html +++ b/netbox/templates/dcim/cable_connect.html @@ -23,43 +23,43 @@ {% if termination_a.device %} {# Device component #}
- +
- +
- +
- +
- +
- +
- +
@@ -140,7 +140,7 @@ {% render_field form.termination_b_circuit %} {% endif %}
- +
diff --git a/netbox/templates/dcim/inc/cable_form.html b/netbox/templates/dcim/inc/cable_form.html index 9bb14c33c..4f93f9010 100644 --- a/netbox/templates/dcim/inc/cable_form.html +++ b/netbox/templates/dcim/inc/cable_form.html @@ -7,7 +7,7 @@ {% render_field form.label %} {% render_field form.color %}
- +
{{ form.length }}
@@ -18,10 +18,10 @@
{% render_field form.tags %} {% if form.custom_fields %} -
-

Custom Fields

- {% render_custom_fields form %} -
+
+

Custom Fields

+ {% render_custom_fields form %} +
{% endif %}