28 lines
1.1 KiB
Plaintext
28 lines
1.1 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 %>">
|
|
|
|
<label><%= locale.password %>:</label><br/>
|
|
<input type="password" required id="password" name="password"><br/><br/>
|
|
|
|
<label><%= locale.title %>:</label><br/>
|
|
<input value="<%=post['title'] %>" required name="title"><br/><br/>
|
|
|
|
<label><%= locale.post_content %>:</label><br/>
|
|
<textarea required name="content"><%= post['content'] %></textarea><br/><br/>
|
|
|
|
<label><%= locale.tags %>:</label><br/>
|
|
<input value="<%= post['tags'] %>" name="tags"><br/><br/>
|
|
|
|
<label>Delete forever (no undo): </label><input name="delete" type="checkbox"><br/>
|
|
<input type="submit" value="Submit"><br/>
|
|
</form>
|
|
</body>
|
|
</html>
|