summaryrefslogtreecommitdiff
path: root/templates/task/report.html
blob: e1a2aa3feccb45883453d54f847669a5fb259238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% 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 %}