From faadc33fccdaea9e4e9eda9d3e91c470f1115342 Mon Sep 17 00:00:00 2001 From: Frances Botsford Date: Thu, 26 Sep 2013 12:12:15 -0400 Subject: [PATCH] leveraging some of the existing notification styling for component errors in studio --- cms/templates/html_error.html | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/cms/templates/html_error.html b/cms/templates/html_error.html index 7bc75ad0a9..f0f82d959b 100644 --- a/cms/templates/html_error.html +++ b/cms/templates/html_error.html @@ -3,19 +3,25 @@ <%block name="bodyclass">error <%block name="content"> -
-

- ${_("We're having trouble rendering your component.")} -

- % if message: -

- ${_("Error message:")} -

- -
-      ${message | h}
-      
-
- % endif +
+
+ +
+

+ + ${_("We're having trouble rendering your component")} +

+ +

You can try re-editing your component to check that your syntax is correct.

+ + % if message: +

+ ${_("Error message:")} + ${message | h} +

+ % endif + + +