summaryrefslogtreecommitdiff
path: root/templates/task
diff options
context:
space:
mode:
authorNishanth Amuluru2011-01-06 10:05:58 +0530
committerNishanth Amuluru2011-01-06 10:05:58 +0530
commit86e84a94a6b1e5e86e78459b06a9d618f76dcbb0 (patch)
treeb25736232bf1fd68798ac2bedef5a87b32e2e3d9 /templates/task
parent355ebf04064a1220407ef762edfe9b5440ade27d (diff)
downloadpytask-86e84a94a6b1e5e86e78459b06a9d618f76dcbb0.tar.gz
pytask-86e84a94a6b1e5e86e78459b06a9d618f76dcbb0.tar.bz2
pytask-86e84a94a6b1e5e86e78459b06a9d618f76dcbb0.zip
added a form in the template, for users to submit work
Diffstat (limited to 'templates/task')
-rw-r--r--templates/task/report.html7
1 files changed, 6 insertions, 1 deletions
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}} <br />
{% endfor %}
{% endif %}
-some data
<hr />
+{% if can_upload %}
+Submit a report: <br />
+<form action='' method=post enctype="multipart/form-data">
+{{ form.as_p }}
+</form>
+{% endif %}
{% endblock %}