summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhusudan.C.S2011-01-23 03:21:34 +0530
committerMadhusudan.C.S2011-01-23 03:21:34 +0530
commit608dc5078ef28abf4b8a5176be7f6ac10e55923e (patch)
treecbb05ab9d03709089053bf52ca2086eddae6cf31
parenta17deb3faabd5e7df8dfeb2aea20462ae6c9e064 (diff)
downloadpytask-608dc5078ef28abf4b8a5176be7f6ac10e55923e.tar.gz
pytask-608dc5078ef28abf4b8a5176be7f6ac10e55923e.tar.bz2
pytask-608dc5078ef28abf4b8a5176be7f6ac10e55923e.zip
Fixed a bug related to using wrong ID in the template tag.
-rw-r--r--pytask/templates/task/view_work.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pytask/templates/task/view_work.html b/pytask/templates/task/view_work.html
index 3022397..0083277 100644
--- a/pytask/templates/task/view_work.html
+++ b/pytask/templates/task/view_work.html
@@ -23,7 +23,7 @@
{% endif %}
{% if is_working %}
- <a href="{% url submit_report rep.id %}">Submit report</a>
+ <a href="{% url submit_report task.id %}">Submit report</a>
<hr />
{% endif %}
{% endblock %}