Fixed a bug related to using wrong ID in the template tag.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Sun, 23 Jan 2011 03:21:34 +0530
changeset 514 9d8fe5d8dcbb
parent 513 595febc74434
child 515 5a90ac22843d
Fixed a bug related to using wrong ID in the template tag.
pytask/templates/task/view_work.html
--- a/pytask/templates/task/view_work.html	Sat Jan 22 01:12:50 2011 +0530
+++ b/pytask/templates/task/view_work.html	Sun Jan 23 03:21:34 2011 +0530
@@ -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 %}