forgot to add the templates. so added now.
authornishanth
Tue, 02 Mar 2010 04:23:21 +0530
changeset 172 f21284458b8c
parent 171 8f31ed9817fa
child 173 b8e7a4e86b35
forgot to add the templates. so added now.
templates/task/delete.html
templates/task/edittask.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/task/delete.html	Tue Mar 02 04:23:21 2010 +0530
@@ -0,0 +1,12 @@
+{% extends 'base.html' %}
+{% block title %}
+    {{task.title}}
+{% endblock %}
+{% block content %}
+    Are you sure you want to delete the task. This action cannot be undone.<br />
+    
+    <form action="" method="post">
+        Reason: <input type="text" name="reason">
+        <input value="Delete" type="submit">
+    </form>
+{% endblock %}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/task/edittask.html	Tue Mar 02 04:23:21 2010 +0530
@@ -0,0 +1,10 @@
+{% extends 'base.html' %}
+{% block content %}
+    {% if error_msg %}
+    {{ error_msg }}<br />
+    {% endif %}
+    <form action="" method="post">
+    {{form.as_p}}
+    <input type="submit" value="Submit">
+    </form>
+{% endblock %}