diff --git a/netbox/templates/base/layout.html b/netbox/templates/base/layout.html
index 6eadb0b55..36caa0039 100644
--- a/netbox/templates/base/layout.html
+++ b/netbox/templates/base/layout.html
@@ -126,21 +126,11 @@ Blocks:
{% endif %}
{% if settings.DEBUG and not settings.DEVELOPER %}
-
-
{% trans "Debug mode is enabled" %}.
-
- {% trans "Performance may be limited. Debugging should never be enabled on a production system." %}
-
-
+ {% include 'inc/alerts/warning.html' with title="Debug mode is enabled" message="Performance may be limited. Debugging should never be enabled on a production system." %}
{% endif %}
{% if config.MAINTENANCE_MODE and config.BANNER_MAINTENANCE %}
-
-
{% trans "Maintenance Mode" %}
-
- {{ config.BANNER_MAINTENANCE|escape }}
-
-
+ {% include 'inc/alerts/warning.html' with title="Maintenance Mode" message=config.BANNER_MAINTENANCE|escape %}
{% endif %}
{# /Banners #}
diff --git a/netbox/templates/generic/bulk_delete.html b/netbox/templates/generic/bulk_delete.html
index 6015747d0..120ad53ae 100644
--- a/netbox/templates/generic/bulk_delete.html
+++ b/netbox/templates/generic/bulk_delete.html
@@ -38,15 +38,19 @@ Context:
{# Confirmation form #}