diff options
author | Nishanth Amuluru | 2011-01-06 10:05:58 +0530 |
---|---|---|
committer | Nishanth Amuluru | 2011-01-06 10:05:58 +0530 |
commit | 86e84a94a6b1e5e86e78459b06a9d618f76dcbb0 (patch) | |
tree | b25736232bf1fd68798ac2bedef5a87b32e2e3d9 /templates/task | |
parent | 355ebf04064a1220407ef762edfe9b5440ade27d (diff) | |
download | pytask-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.html | 7 |
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 %} |