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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
547
1bfa67f465b4 Define a templatetag to display list of tags and make them linked.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
<div id="tags">
1bfa67f465b4 Define a templatetag to display list of tags and make them linked.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
  {% for tag in tags %}
1bfa67f465b4 Define a templatetag to display list of tags and make them linked.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
    <a href="{% url view_tag tag.name %}">{{ tag }}</a>,
1bfa67f465b4 Define a templatetag to display list of tags and make them linked.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
  {% endfor %}
1bfa67f465b4 Define a templatetag to display list of tags and make them linked.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
</div>