Get editing working
[txt.house] / txt_house / templates / index.html
index fcd6fe9..8d8535a 100644 (file)
@@ -1,9 +1,24 @@
 {% extends 'base.html' %}
 
 {% block body %}
-<form action='create' method='post'>
+<style>
+  h1 {
+    margin: 3rem 0;
+  }
+
+  p {
+    margin: 0;
+  }
+</style>
+
+<h1>txt.house</h1>
+
+<p>Paste or edit in text and submit to get a permanent link for it.</p>
+
+<form class='editor' action='{% url "create" %}' method='post'>
   {% csrf_token %}
   <textarea name='text'></textarea>
   <input type='submit'></input>
 </form>
+
 {% endblock %}