mirror of https://github.com/mitsuhiko/flask.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
447 B
16 lines
447 B
7 years ago
|
{% extends 'base.html' %}
|
||
|
|
||
|
{% block header %}
|
||
|
<h1>{% block title %}New Post{% endblock %}</h1>
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<form method="post">
|
||
|
<label for="title">Title</label>
|
||
|
<input name="title" id="title" value="{{ request.form['title'] }}" required>
|
||
|
<label for="body">Body</label>
|
||
|
<textarea name="body" id="body">{{ request.form['body'] }}</textarea>
|
||
|
<input type="submit" value="Save">
|
||
|
</form>
|
||
|
{% endblock %}
|