2018-02-09 14:39:05 -08:00
|
|
|
{% 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>
|
2024-09-17 07:45:24 +00:00
|
|
|
<label for="body">Body (Markdown supported)</label>
|
2018-02-09 14:39:05 -08:00
|
|
|
<textarea name="body" id="body">{{ request.form['body'] }}</textarea>
|
|
|
|
|
<input type="submit" value="Save">
|
|
|
|
|
</form>
|
|
|
|
|
{% endblock %}
|