1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-11-22 06:54:43 +01:00

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

View file

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