diff options
Diffstat (limited to 'views/forum_edit.ejs')
-rw-r--r-- | views/forum_edit.ejs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/views/forum_edit.ejs b/views/forum_edit.ejs index 2f3c3ff..7ed1414 100644 --- a/views/forum_edit.ejs +++ b/views/forum_edit.ejs @@ -1,10 +1,11 @@ -<%- include('header', { title: "Edit Post" }) %> +<%- 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> +<textarea name="body" rows="20" cols="80" maxlength="32000" required autofocus> +<%= post.body %></textarea> <p> <button type="submit">Submit</button> </form> |