diff --git a/netbox_tunnels2/templates/netbox_tunnels2/tunnel_edit.html b/netbox_tunnels2/templates/netbox_tunnels2/tunnel_edit.html index 68b8147..f787c39 100644 --- a/netbox_tunnels2/templates/netbox_tunnels2/tunnel_edit.html +++ b/netbox_tunnels2/templates/netbox_tunnels2/tunnel_edit.html @@ -2,8 +2,6 @@ {% load static %} {% load form_helpers %} -{% block title %}{% if obj.pk %}Editing {{ obj }}{% else %}Add a tunnel{% endif %}{% endblock %} - {% block form %} {% render_errors form %}
@@ -38,17 +36,15 @@

Side B Interface Assignment

+{% if form.custom_fields %} +
+

Custom Fields

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

Comments

{% render_field form.comments %}
-{% if form.custom_fields %} -
-
Custom Fields
-
- {% render_custom_fields form %} -
-
-{% endif %} {% endblock %} \ No newline at end of file