summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornishanth2010-03-02 04:23:21 +0530
committernishanth2010-03-02 04:23:21 +0530
commit14eb7878755370b2eede938f61a491de4fcda7db (patch)
tree3c999602666e9da9c5d2dd065d3ae82862586fc0
parent00d4f5ee920f0a5baa37023d8b212d9bb4119424 (diff)
downloadpytask-14eb7878755370b2eede938f61a491de4fcda7db.tar.gz
pytask-14eb7878755370b2eede938f61a491de4fcda7db.tar.bz2
pytask-14eb7878755370b2eede938f61a491de4fcda7db.zip
forgot to add the templates. so added now.
-rw-r--r--templates/task/delete.html12
-rw-r--r--templates/task/edittask.html10
2 files changed, 22 insertions, 0 deletions
diff --git a/templates/task/delete.html b/templates/task/delete.html
new file mode 100644
index 0000000..dffe900
--- /dev/null
+++ b/templates/task/delete.html
@@ -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 %}
diff --git a/templates/task/edittask.html b/templates/task/edittask.html
new file mode 100644
index 0000000..7ae29ab
--- /dev/null
+++ b/templates/task/edittask.html
@@ -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 %}