-
{% trans "Virtual Chassis" %}
+
+
{% trans "Virtual Chassis" %}
{% render_field vc_form.name %}
{% render_field vc_form.domain %}
@@ -37,8 +37,8 @@
{% if vc_form.custom_fields %}
-
-
{% trans "Custom Fields" %}
+
+
{% trans "Custom Fields" %}
{% render_custom_fields vc_form %}
diff --git a/netbox/templates/extras/script.html b/netbox/templates/extras/script.html
index 9a1c47530..9aa606dc3 100644
--- a/netbox/templates/extras/script.html
+++ b/netbox/templates/extras/script.html
@@ -20,8 +20,8 @@
{% for group, fields in script.get_fieldsets %}
{% if fields %}
-
-
{{ group }}
+
+
{{ group }}
{% for name in fields %}
{% with field=form|getfield:name %}
diff --git a/netbox/templates/generic/bulk_edit.html b/netbox/templates/generic/bulk_edit.html
index 33eb9e798..adfc4408b 100644
--- a/netbox/templates/generic/bulk_edit.html
+++ b/netbox/templates/generic/bulk_edit.html
@@ -57,8 +57,8 @@ Context:
{# Render grouped fields according to declared fieldsets #}
{% for group, fields in form.fieldsets %}
-
-
+
+
{% if group %}{{ group }}{% else %}{{ model|meta:"verbose_name"|bettertitle }}{% endif %}
@@ -77,8 +77,8 @@ Context:
{# Render tag add/remove fields #}
{% if form.add_tags and form.remove_tags %}
-
-
{% trans "Tags" %}
+
+
{% trans "Tags" %}
{% render_field form.add_tags %}
{% render_field form.remove_tags %}
@@ -88,8 +88,8 @@ Context:
{# Render custom fields #}
{% if form.custom_fields %}
-
-
{% trans "Custom Fields" %}
+
+
{% trans "Custom Fields" %}
{% render_custom_fields form %}
@@ -98,8 +98,8 @@ Context:
{# Render comments #}
{% if form.comments %}
-
-
{% trans "Comments" %}
+
+
{% trans "Comments" %}
{% render_field form.comments bulk_nullable=True %}
diff --git a/netbox/templates/htmx/form.html b/netbox/templates/htmx/form.html
index 5cbbdcc42..3aafc2a21 100644
--- a/netbox/templates/htmx/form.html
+++ b/netbox/templates/htmx/form.html
@@ -12,8 +12,8 @@
{% for group, fields in form.fieldsets %}
{% if group %}
-
-
{{ group }}
+
+
{{ group }}
{% endif %}
{% for name in fields %}
@@ -28,8 +28,8 @@
{% if form.custom_fields %}
-
-
{% trans "Custom Fields" %}
+
+
{% trans "Custom Fields" %}
{% render_custom_fields form %}
diff --git a/netbox/templates/ipam/fhrpgroupassignment_edit.html b/netbox/templates/ipam/fhrpgroupassignment_edit.html
index cd3756511..bbc1505f2 100644
--- a/netbox/templates/ipam/fhrpgroupassignment_edit.html
+++ b/netbox/templates/ipam/fhrpgroupassignment_edit.html
@@ -4,8 +4,8 @@
{% block form %}
-
-
{% trans "FHRP Group Assignment" %}
+
+
{% trans "FHRP Group Assignment" %}
{% trans "Interface" %}
diff --git a/netbox/templates/ipam/ipaddress_bulk_add.html b/netbox/templates/ipam/ipaddress_bulk_add.html
index c3d82a8ea..e4764fd33 100644
--- a/netbox/templates/ipam/ipaddress_bulk_add.html
+++ b/netbox/templates/ipam/ipaddress_bulk_add.html
@@ -11,8 +11,8 @@
{% block form %}
-
-
{% trans "IP Addresses" %}
+
+
{% trans "IP Addresses" %}
{% render_field form.pattern %}
{% render_field model_form.status %}
@@ -23,16 +23,16 @@
-
-
{% trans "Tenancy" %}
+
+
{% trans "Tenancy" %}
{% render_field model_form.tenant_group %}
{% render_field model_form.tenant %}
{% if model_form.custom_fields %}
-
-
{% trans "Custom Fields" %}
+
+
{% trans "Custom Fields" %}
{% render_custom_fields model_form %}
diff --git a/netbox/templates/ipam/ipaddress_edit.html b/netbox/templates/ipam/ipaddress_edit.html
index 7d79d0e29..93045761f 100644
--- a/netbox/templates/ipam/ipaddress_edit.html
+++ b/netbox/templates/ipam/ipaddress_edit.html
@@ -10,8 +10,8 @@
{% block form %}
-
-
{% trans "IP Address" %}
+
+
{% trans "IP Address" %}
{% render_field form.address %}
{% render_field form.status %}
@@ -23,19 +23,19 @@
-
-
{% trans "Tenancy" %}
+
+
{% trans "Tenancy" %}
{% render_field form.tenant_group %}
{% render_field form.tenant %}
-
-
{% trans "Interface Assignment" %}
+
+
{% trans "Interface Assignment" %}
-
-
+
+
-
-
{% trans "NAT IP (Inside" %})
+
+
{% trans "NAT IP (Inside" %})
-
+
{% render_field form.nat_inside %}
@@ -84,8 +84,8 @@
{% if form.custom_fields %}
-
-
{% trans "Custom Fields" %}
+
+
{% trans "Custom Fields" %}
{% render_custom_fields form %}
diff --git a/netbox/templates/ipam/service_create.html b/netbox/templates/ipam/service_create.html
index d3aa6ad27..73033f687 100644
--- a/netbox/templates/ipam/service_create.html
+++ b/netbox/templates/ipam/service_create.html
@@ -4,13 +4,13 @@
{% block form %}
-
-
{% trans "Service" %}
+
+
{% trans "Service" %}
{# Device/VM selection #}
-
-
+
+
{# Template or custom #}
-
-
+
+
{% if form.custom_fields %}
-
-
{% trans "Custom Fields" %}
+
+
{% trans "Custom Fields" %}
{% render_custom_fields form %}
{% endif %}
diff --git a/netbox/templates/ipam/service_edit.html b/netbox/templates/ipam/service_edit.html
index 1e5fe1a48..c0f1f21a2 100644
--- a/netbox/templates/ipam/service_edit.html
+++ b/netbox/templates/ipam/service_edit.html
@@ -4,12 +4,12 @@
{% block form %}
-
-
{% trans "Service" %}
+
+
{% trans "Service" %}
-
-
+
+
{% if form.custom_fields %}
-
-
{% trans "Custom Fields" %}
+
+
{% trans "Custom Fields" %}
{% render_custom_fields form %}
{% endif %}
diff --git a/netbox/templates/ipam/vlan_edit.html b/netbox/templates/ipam/vlan_edit.html
index 169f014e0..145fb060e 100644
--- a/netbox/templates/ipam/vlan_edit.html
+++ b/netbox/templates/ipam/vlan_edit.html
@@ -6,8 +6,8 @@
{% block form %}
-
-
{% trans "VLAN" %}
+
+
{% trans "VLAN" %}
{% render_field form.vid %}
{% render_field form.name %}
@@ -18,20 +18,20 @@
-
-
{% trans "Tenancy" %}
+
+
{% trans "Tenancy" %}
{% render_field form.tenant_group %}
{% render_field form.tenant %}
-
-
{% trans "Assignment" %}
+
+
{% trans "Assignment" %}
{% with site_tab_active=form.initial.site %}
-
-
+
+
{% trans "VLAN Group" %}
@@ -59,8 +59,8 @@
{% if form.custom_fields %}
-
-
{% trans "Custom Fields" %}
+
+
{% trans "Custom Fields" %}
{% render_custom_fields form %}
diff --git a/netbox/templates/tenancy/contactassignment_edit.html b/netbox/templates/tenancy/contactassignment_edit.html
index 09a267c04..342debcbb 100644
--- a/netbox/templates/tenancy/contactassignment_edit.html
+++ b/netbox/templates/tenancy/contactassignment_edit.html
@@ -8,8 +8,8 @@
{{ field }}
{% endfor %}
-
-
{% trans "Contact Assignment" %}
+
+
{% trans "Contact Assignment" %}
@@ -27,8 +27,8 @@
-
-
{% trans "Custom Fields" %}
+
+
{% trans "Custom Fields" %}
{% render_custom_fields form %}
diff --git a/netbox/templates/vpn/l2vpntermination_edit.html b/netbox/templates/vpn/l2vpntermination_edit.html
index 0df2c883e..a4bc44d12 100644
--- a/netbox/templates/vpn/l2vpntermination_edit.html
+++ b/netbox/templates/vpn/l2vpntermination_edit.html
@@ -5,12 +5,12 @@
{% block form %}
-
-
{% trans "L2VPN Termination" %}
+
+
{% trans "L2VPN Termination" %}
{% render_field form.l2vpn %}
-
+
{% if form.custom_fields %}
-
-
{% trans "Custom Fields" %}
+
+
{% trans "Custom Fields" %}
{% render_custom_fields form %}