⬆️ Upgrade to Kotlin 1.7
[Sone.git] / src / main / resources / templates / createPost.html
1 <%include include/head.html>
2
3         <h1><%= Page.CreatePost.Page.Title|l10n|html></h1>
4
5         <%if errorTextEmpty>
6                 <p><%= Page.CreatePost.Error.EmptyText|l10n|html></p>
7         <%/if>
8
9         <form method="post">
10                 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
11                 <input type="hidden" name="returnPage" value="<% returnPage|html>" />
12
13                 <div>
14                         <label for="text"><%= Page.CreatePost.Label.Text|l10n|html></label>
15                         <textarea name="text"><% text|html></textarea>
16                 </div>
17
18                 <div>
19                         <button type="submit"><%= Page.CreatePost.Button.Post|l10n|html></button>
20                 </div>
21
22         </form>
23
24 <%include include/tail.html>