{% 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}} | {{rep.attachment.name}}
{% endfor %} {% endif %}
{% if can_upload %} Submit a report:
{{ form.as_p }}
{% endif %} {% endblock %}