lots of fixes and more EJS
This commit is contained in:
16
views/forms/new_post.ejs
Normal file
16
views/forms/new_post.ejs
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
</html>
|
||||
<head>
|
||||
<%- include('../partials/head.ejs') %>
|
||||
</head>
|
||||
<body>
|
||||
<form action="/submit_post" method="POST">
|
||||
<input placeholder="username" required name="username"><br/>
|
||||
<input placeholder="password" type="password" required id="password" name="password"><br/>
|
||||
<input placeholder="title" required name="title"><br/>
|
||||
<textarea placeholder="post content*" required name="content"></textarea><br/>
|
||||
<input placeholder="Tags (comma seperated)" name="tags"><br/>
|
||||
<input type="submit" value="Submit"><br/>
|
||||
<small>* Markdown supported</small>
|
||||
</body>
|
||||
</form></html>
|
Reference in New Issue
Block a user