Get creation of a text file working
[txt.house] / txt_house / templates / index.html
diff --git a/txt_house/templates/index.html b/txt_house/templates/index.html
new file mode 100644 (file)
index 0000000..8523976
--- /dev/null
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1"/>
+    <title>txt.house</title>
+  </head>
+
+  <body>
+    <form action='create' method='post'>
+      {% csrf_token %}
+      <textarea name='text'></textarea>
+      <input type='submit'></input>
+    </form>
+  </body>
+</html>