hydra/src/root/error.tt
2013-10-03 18:05:37 +02:00

8 lines
221 B
Text

[% WRAPPER layout.tt title=(httpStatus ? httpStatus : "Error") %]
[% USE HTML %]
[% FOREACH error IN errors %]
<div class="alert alert-error">[% HTML.escape(error).replace('\n', '<br/>') %]</div>
[% END %]
[% END %]