Move “add Sone” form to “known Sones” page.
[Sone.git] / src / main / resources / templates / knownSones.html
1 <%include include/head.html>
2
3         <h1><%= Page.Index.AddSone.Title|l10n|html></h1>
4
5         <div><%= Page.Index.AddSone.Description|l10n|html></div>
6
7         <form action="addSone.html" method="post">
8                 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
9                 <input id="addsone" type="text" name="request-uri" />
10                 <button type="submit"><%= Page.Index.AddSone.Button.Add|l10n|html></button>
11         </form>
12
13         <h1><%= Page.KnownSones.Page.Title|l10n|html></h1>
14
15         <div id="known-sones">
16                 <%foreach knownSones sone>
17                         <%include include/viewSone.html>
18                 <%foreachelse>
19                         <div><%= Page.KnownSones.Text.NoKnownSones|l10n|html></div>
20                 <%/foreach>
21         </div>
22
23 <%include include/tail.html>