pytask/templates/templatetags/_as_tags.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 01 Feb 2011 15:03:24 +0530
changeset 547 1bfa67f465b4
child 548 53b0071346c4
permissions -rw-r--r--
Define a templatetag to display list of tags and make them linked.

<div id="tags">
  {% for tag in tags %}
    <a href="{% url view_tag tag.name %}">{{ tag }}</a>,
  {% endfor %}
</div>