From ed6ae335158d662d2c29634e88243942e637d170 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 4 Aug 2010 14:13:57 +0200 Subject: restructure the templates a bit --- templates/edit.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 templates/edit.html (limited to 'templates/edit.html') diff --git a/templates/edit.html b/templates/edit.html new file mode 100644 index 0000000..e29ec7c --- /dev/null +++ b/templates/edit.html @@ -0,0 +1,31 @@ +{% extends "tree.html" %} +{% block widgets %} + $('#id_expires').datepicker({'dateFormat': 'yy-mm-dd','timeFormat': 'hh:ii:ss'}); + $('#id_description').wysiwyg(); +{% endblock %} +{% block content %} +
+
+

{{formtitle}}

+ + {% for field in form %} + + {% if field.errors %} + + {% endif %} + + + + + + {% endfor %} +
{{ field.errors }}
{{ field.label_tag }}
{{ field }}
+
+
+
+ + +
+
+ +{% endblock %} \ No newline at end of file -- cgit v1.1