From 86e84a94a6b1e5e86e78459b06a9d618f76dcbb0 Mon Sep 17 00:00:00 2001 From: Nishanth Amuluru Date: Thu, 6 Jan 2011 10:05:58 +0530 Subject: added a form in the template, for users to submit work --- templates/task/report.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'templates/task') diff --git a/templates/task/report.html b/templates/task/report.html index 8890d1f..4e18f32 100644 --- a/templates/task/report.html +++ b/templates/task/report.html @@ -10,6 +10,11 @@ There are no reports submitted as of now {{rep.submitted_by}} | {{rep.attachment}}
{% endfor %} {% endif %} -some data
+{% if can_upload %} +Submit a report:
+
+{{ form.as_p }} +
+{% endif %} {% endblock %} -- cgit