Instead hard breaks in multi-line error messages

This commit is contained in:
Eelco Dolstra 2013-10-03 18:05:37 +02:00
parent 851c3329d0
commit 63062f7bba

View file

@ -2,7 +2,7 @@
[% USE HTML %] [% USE HTML %]
[% FOREACH error IN errors %] [% FOREACH error IN errors %]
<div class="alert alert-error">[% HTML.escape(error) %]</div> <div class="alert alert-error">[% HTML.escape(error).replace('\n', '<br/>') %]</div>
[% END %] [% END %]
[% END %] [% END %]