koa-lite/examples/blog/views/new.html

13 lines
380 B
HTML
Raw Normal View History

2013-11-28 05:40:00 +00:00
{% extends 'layout.html' %}
{% block title %}New Post{% endblock %}
{% block content %}
<h1>New Post</h1>
<p>Create a new post.</p>
<form action="/post" method="post">
<p><input type="text" placeholder="Title" name="title"></p>
<p><textarea placeholder="Contents" name="body"></textarea></p>
<p><input type="submit" value="Create"></p>
</form>
{% endblock %}