2014-02-02 14:21:16 +01:00
|
|
|
{% extends "base.html" %}
|
2012-11-08 21:23:30 +01:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% if tags|length == 0 %}
|
|
|
|
<b>Any tag available</b><br/><br/>
|
|
|
|
{% else %}
|
|
|
|
<table>
|
|
|
|
{% for tag in tags %}
|
2012-12-24 09:35:59 +01:00
|
|
|
<tr><td>{{ tag.id }}</td><td>{{ tag.name }}</td><td><a href="/tag/edit/{{ tag.id }}">Edit</a></td><td><a href="/tag/delete/{{ tag.id }}" onclick="return confirm('Do you really want to delete this item ?')">Delete</a></td></tr>
|
2012-11-08 21:23:30 +01:00
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|