use base template for new paste creation page
authorChristian Weiske <cweiske@cweiske.de>
Tue, 27 Mar 2012 06:19:25 +0000 (08:19 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Tue, 27 Mar 2012 06:19:25 +0000 (08:19 +0200)
data/templates/index.htm

index eea509b..26a22c3 100644 (file)
@@ -1,4 +1,7 @@
+{% extends "base.htm" %}
+{% block title %}New paste{% endblock %}
 
+{% block content %}
 <form method="post" action="/">
  <p>
   <label for="description">Description</label>
   </select>
  </p>
  <p>
-  <textarea name="file[1][content]" id="content_1">{{ file[1]['content'] }}</textarea>
+  <textarea name="file[1][content]" id="content_1" cols="80" rows="10">{{ file[1]['content'] }}</textarea>
  </p>
  <p>
   <input type="submit" value="Go"/>
  </p>
-</form>
\ No newline at end of file
+</form>
+{% endblock %}