Files
blogger-nodejs/views/forms/new_post.ejs
T

32 lines
865 B
Plaintext

<!DOCTYPE html>
</html>
<head>
<%- include('../partials/head.ejs') %>
</head>
<body>
<div id="main">
<header id="site-header">
<%- include("../headers/site_wide") %>
</header>
<form action="<%= config.site_path %>/submit_post" method="POST">
<label><%= locale.username %>:</label><br/>
<input required name="username"><br/><br/>
<label><%= locale.password %>:</label><br/>
<input type="password" required id="password" name="password"><br/><br/>
<label><%= locale.title %>:</label><br/>
<input required name="title"><br/><br/>
<label><%= locale.post_content %>:</label><br/>
<textarea required name="content"></textarea><br/><br/>
<label><%= locale.tags %>:</label><br/>
<input name="tags"><br/><br/>
<input type="submit" value="Submit"><br/>
</form>
</div>
</body>
</html>