From 1bd352cb29b47949d68d4f6671e637a43c2ab747 Mon Sep 17 00:00:00 2001 From: Dusty Phillips Date: Fri, 27 Jun 2008 18:34:47 -0400 Subject: use newforms on todo list --- templates/general_form.html | 24 ++++++++++++++++++++++++ templates/todolists/add.html | 25 ------------------------- 2 files changed, 24 insertions(+), 25 deletions(-) create mode 100644 templates/general_form.html delete mode 100644 templates/todolists/add.html (limited to 'templates') diff --git a/templates/general_form.html b/templates/general_form.html new file mode 100644 index 00000000..4c174817 --- /dev/null +++ b/templates/general_form.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} + +{% block content %} +
+

{{title}}

+
+ + {% for field in form %} + + + + + {% endfor %} + + + +
+ {{field.label}}: +
{{field.help_text}}
{{field}}
+ +
+
+
+{% endblock %} diff --git a/templates/todolists/add.html b/templates/todolists/add.html deleted file mode 100644 index a53637ce..00000000 --- a/templates/todolists/add.html +++ /dev/null @@ -1,25 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -
-

Add ToDo List

-
- - - - - - - - - - - - - -
Name:
Description:
List of Package Names:
(one per line)
- -
-
-
-{% endblock %} -- cgit v1.2.3-54-g00ecf