pytask/templates/templatetags/_as_tags.html
changeset 548 53b0071346c4
parent 547 1bfa67f465b4
child 559 96e8e65a3738
--- a/pytask/templates/templatetags/_as_tags.html	Tue Feb 01 15:03:24 2011 +0530
+++ b/pytask/templates/templatetags/_as_tags.html	Tue Feb 01 15:09:44 2011 +0530
@@ -1,5 +1,5 @@
 <div id="tags">
   {% for tag in tags %}
-    <a href="{% url view_tag tag.name %}">{{ tag }}</a>,
+    <a href="{% url view_tag tag.name %}">{{ tag }}</a>{% if not forloop.last %},{% endif %}
   {% endfor %}
 </div>
\ No newline at end of file