Updated Street Address
[openhouseparty.online/.git] / build / lib / flaskr / templates / blog / create.html
diff --git a/build/lib/flaskr/templates/blog/create.html b/build/lib/flaskr/templates/blog/create.html
new file mode 100644 (file)
index 0000000..b30b3ef
--- /dev/null
@@ -0,0 +1,16 @@
+{% extends 'base.html' %}
+
+{% block header %}
+  <h1>{% block title %}New Post{% endblock %}</h1>
+{% endblock %}
+{% block content %}
+  <form method="post" enctype="multipart/form-data">
+    <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>
+    <label for="file1">Photos</label>
+    Browse… <input type="file" id="file1" name="file1">
+    <input type="submit" value="Save">
+  </form>
+{% endblock %}
\ No newline at end of file