{% extends "layout.html" %}
{% block body %}
  <h2>New Todo Item</h2>
  <form action="" method=post>
    <p>
      Title:
      <input type=text name=title value="{{ request.form.title }}">
    <p>Text:
    <p><textarea name=text rows=10 cols=40>{{ request.form.text }}</textarea>
    <p>
      <input type=submit value="Create entry">
      <a href="{{ url_for('show_all') }}">Back to list</a>
  </form>
{% endblock %}
