summaryrefslogtreecommitdiff
path: root/views/forum_edit.ejs
blob: 2f3c3ff871806f36b89b9e6fa5f7ed2919ebb6fe (plain)
1
2
3
4
5
6
7
8
9
10
<%- 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>