Allow html string in error/warning messages

This commit is contained in:
Mehdi Abaakouk 2012-07-16 08:08:47 +02:00
parent 3ea5e3d0b8
commit 1474ff90aa
1 changed files with 2 additions and 2 deletions

View File

@ -64,10 +64,10 @@
<div class="row-fluid">
<div class="span8">
{% if warning %}
<div class="alert alert-warning">{{warning}}</div>
<div class="alert alert-warning">{{warning|safe}}</div>
{% endif %}
{% if error %}
<div class="alert alert-error">{{error}}</div>
<div class="alert alert-error">{{error|safe}}</div>
{% endif %}
{% block body %}{% endblock %}