changeset 223 | b592ed0b12b1 |
parent 221 | a3de0d3c60a3 |
child 224 | c41e38f36299 |
--- a/templates/task/report.html Thu Jan 06 00:17:53 2011 +0530 +++ b/templates/task/report.html Thu Jan 06 10:05:58 2011 +0530 @@ -10,6 +10,11 @@ {{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 %}