<!DOCTYPE html>
<html>
  <head>
    <title>List of Your Blogs</title>
  </head>
  <body>
    <h1>Write a new post for your blog</h1>
    <form action="/write_post" method="post">
      <input type="hidden" name="blog_id" value="{{ blog_id }}"></input>
      <input type="text" name="title"></input><br/>
      <textarea name="body"></textarea><br/>
      Draft: <input type="checkbox" value="true" name="draft"></input><br/>
      <input type="submit" value="Post on my blog"></input><br/>
    </form>
    <p>Done? <a href="{{ sign_out }}">Sign Out</a></p>
  </body>
</html>
