Dynastie/templates/tag.html

15 lines
513 B
HTML

{% extends "templates/base.html" %}
{% block content %}
<a href="/blog/{{ blog.id }}?page=0">Home</a> <a href="/category/{{ blog.id }}">Categories</a> <a href="/tag/{{ blog.id }}">Tags</a><br/><br/>
{% 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 %}