aboutsummaryrefslogtreecommitdiff
path: root/ustayml/templates/blog/create.html
diff options
context:
space:
mode:
authorMitsuo Tokumori <rtokumori@pucp.edu.pe>2023-10-29 07:41:04 -0500
committerMitsuo Tokumori <rtokumori@pucp.edu.pe>2023-10-29 07:41:04 -0500
commit43f9d78f8c00e13732b809519f0529ac293fd5ab (patch)
treed9779a6d4b511dd27cfe80b3f8d0ad2e5ef5d7da /ustayml/templates/blog/create.html
parentde8b3d760a37fc54645a2588b062f85963146070 (diff)
Rename to ustayml (u-stayML)
Diffstat (limited to 'ustayml/templates/blog/create.html')
-rw-r--r--ustayml/templates/blog/create.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/ustayml/templates/blog/create.html b/ustayml/templates/blog/create.html
new file mode 100644
index 0000000..88e31e4
--- /dev/null
+++ b/ustayml/templates/blog/create.html
@@ -0,0 +1,15 @@
+{% 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 %}