summaryrefslogtreecommitdiff
path: root/views/forum_edit.ejs
blob: 7ed14148ad1444fa800414c2fe89530cadb555dd (plain)
1
2
3
4
5
6
7
8
9
10
11
<%- include('header', { title: "Edit Post" }) -%>
<style>
input, textarea { width: 100%; max-width: 45em; }
</style>
<form action="/forum/edit/<%- post.post_id %>" method="post">
<p>
<textarea name="body" rows="20" cols="80" maxlength="32000" required autofocus>
<%= post.body %></textarea>
<p>
<button type="submit">Submit</button>
</form>