From 1474ff90aa9945364d69dfa3b01d46733e746931 Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Mon, 16 Jul 2012 08:08:47 +0200 Subject: [PATCH] Allow html string in error/warning messages --- templates/layout.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/layout.html b/templates/layout.html index f8e77e8..837562b 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -64,10 +64,10 @@
{% if warning %} -
{{warning}}
+
{{warning|safe}}
{% endif %} {% if error %} -
{{error}}
+
{{error|safe}}
{% endif %} {% block body %}{% endblock %}