templates/task/report.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 14 Jan 2011 00:57:39 +0530
changeset 235 e338eaeccad7
parent 225 042dabb73a22
permissions -rw-r--r--
Added tag deprecated for changeset b4a3ec34c061

{% extends 'base.html' %}
{% block title %}
    {{task.title}}
{% endblock %}
{% block content %}
{% if not old_reports %}
There are no reports submitted as of now
{% else %}
{% for rep in old_reports %}
{{rep.submitted_by}} | <a href="{{rep.attachment.url}}">{{rep.attachment.name}}</a> <br />
{% endfor %}
{% endif %}
<hr />
{% if can_upload %}
Submit a report: <br />
<form action='' method=post enctype="multipart/form-data">
{{ form.as_p }}
<input type=submit value=submit />
</form>
{% endif %}
{% endblock %}