summaryrefslogtreecommitdiff
path: root/views/forum_reply.ejs
blob: 85bafadaa3e5522f318fe84bfc004cb8582dda14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<%- include('header', { title: thread.subject }) %>
<style>
input, textarea { width: 100%; max-width: 45em; }
table .author { border-right: none; }
table .time { border-left: none; font-weight: normal; }
</style>
<table class="post">
<tr>
<th class="author"><%= post.author_name %>
<th class="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
	placeholder="Say something nice."></textarea>
<p>
<button type="submit">Submit</button>
</form>