simple-blog/views/compose.ejs
2021-06-21 21:17:25 -04:00

14 lines
493 B
Text

<%- include("partials/header"); -%>
<h1>Compose</h1>
<form class="" action="/compose" method="post">
<div class="form-group">
<label>Title</label>
<input class="form-control" type="text" name="postTitle">
<label>Post</label>
<textarea class="form-control" name="postBody" rows="5" cols="30"></textarea>
</div>
<button class="btn btn-primary" type="submit" name="button">Publish</button>
</form>
<%- include("partials/footer"); -%>