akf-forum/views/createThread.ejs
Akif9748 ae83e014a0 Mongoose is fixed & optimized
The dublicate key error fixed, ids as string.
classes removed. using mongoose's magic
2022-08-09 19:16:34 +03:00

28 lines
597 B
Text

<!DOCTYPE html>
<html lang="en">
<%- include("extra/header", {title: "Create Thread!" }) %>
<body>
<%- include("extra/navbar", {user}) %>
<form action="/threads/" method="POST">
<h2>Title:</h2>
<input name="title"></input>
<hr>
<h2>Content:</h2>
<textarea rows="4" cols="50" name="content"></textarea>
<hr>
<button class="buyuk" type="submit">Create Thread!</button>
</form>
<%- include("extra/footer") %>
</body>
</html>