20 lines
1.0 KiB
Plaintext
20 lines
1.0 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="<%= config.language %>">
|
|
<head>
|
|
<%- include("../partials/head") %>
|
|
</head>
|
|
<body>
|
|
<form action="/submit_edit_post" method="POST" onsubmit="sha512password()">
|
|
<input name="userID" type="hidden" value="<%= post['userID'] %>">
|
|
<input name="postID" type="hidden" value="<%= post_id %>">
|
|
<input placeholder="<%= user['prettyname'] %>'s password" type="password" required id="password" name="password"><br/>
|
|
<input placeholder="title" value=" <%=post['title'] %>" required name="title"><br/>
|
|
<textarea placeholder="content" required name="content"><%= post['content'] %></textarea><br/>
|
|
<input placeholder="tags (comma seperated)" value="<%= post['tags'] %>" name="tags"><br/>
|
|
<label>Delete forever (no undo): </label><input name="delete" type="checkbox"><br/>
|
|
<input type="submit" value="Submit"><br/>
|
|
<small>* Markdown supported</small>
|
|
</form>
|
|
</body>
|
|
</html>
|