summaryrefslogtreecommitdiff
path: root/views/forum_reply.ejs
blob: db777b670a50dce42370e7e781c52ea062f844b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<%- include('header', { title: thread.subject }) -%>
<style>
input, textarea { width: 100%; max-width: 45em; }
table { max-width: 50em; }
table .author { border-right: none; }
table .time { border-left: none; font-weight: normal; }
table .command { border: none; }
</style>
<table class="post">
<tr>
<th class="author"><%= post.author_name %>
<th class="r time"><%= post.ctime %> <%= post.edited ? "(edited " + post.mtime + ")" : "" %>
<tr>
<td class="body" colspan="2"><%- post.body %></td>
</table>
<form action="/forum/reply/<%- thread.thread_id %>" method="post">
<p>
Reply:
<br>
<textarea name="body" rows="15" cols="80" maxlength="32000" required autofocus></textarea>
<p>
<button type="submit">Submit</button>
</form>