init
This commit is contained in:
commit
a59ac1f3cb
14 changed files with 434 additions and 0 deletions
5
templates/edit.html
Normal file
5
templates/edit.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<form action="/edit/{{ post.id }}" method="POST">
|
||||
<input placeholder="title" name="title" value="{{ post.title }}" />
|
||||
<textarea placeholder="content" name="content">{{ post.content }}</textarea>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
Loading…
Reference in a new issue