Show potential error messages on the “invalid” page.
[Sone.git] / src / main / resources / templates / invalid.html
1 <%include include/head.html>
2
3         <h1><%= Page.Invalid.Page.Title|l10n|html></h1>
4
5         <%foreach messages message>
6                 <%if message|substring start=0 length=1|match value='!'>
7                         <p class="error"><% message|substring start=1|parse></p>
8                 <%else>
9                         <p><% message|parse></p>
10                 <%/if>
11         <%foreachelse>
12                 <p><%= Page.Invalid.Text|l10n|html|replace needle="{link}" replacement='<a href="index.html">'|replace needle="{/link}" replacement='</a>'></p>
13         <%/foreach>
14
15 <%include include/tail.html>