diff --git a/core/modules/system/templates/details.html.twig b/core/modules/system/templates/details.html.twig
index 5014deb..7b280ef 100644
--- a/core/modules/system/templates/details.html.twig
+++ b/core/modules/system/templates/details.html.twig
@@ -27,6 +27,7 @@
{{ title }}
{%- endif -%}
+
{% if errors %}
{{ errors }}
@@ -36,4 +37,5 @@
{{ description }}
{{ children }}
{{ value }}
+
diff --git a/core/themes/stable/templates/form/details.html.twig b/core/themes/stable/templates/form/details.html.twig
index ccd2796..118a817 100644
--- a/core/themes/stable/templates/form/details.html.twig
+++ b/core/themes/stable/templates/form/details.html.twig
@@ -25,6 +25,7 @@
{{ title }}
{%- endif -%}
+
{% if errors %}
{{ errors }}
@@ -34,4 +35,5 @@
{{ description }}
{{ children }}
{{ value }}
+