Dynastie/templates/tag.html

14 lines
370 B
HTML
Raw Normal View History

{% extends "templates/base.html" %}
{% block content %}
{% if tags|length == 0 %}
<b>Any tag available</b><br/><br/>
{% else %}
<table>
{% for tag in tags %}
<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 }}">Delete</a></td></tr>
{% endfor %}
</table>
{% endif %}
{% endblock %}