Dynastie/templates/category.html
Grégory Soutadé 85488e0838 Add tags support
Set slugify to be global
Update modification date only if text has been changed
Fix a bug in preview (post_id was passed instead of blog_id)
Add Home, Category and Tag links in blog area instead of global area (dynastie template)
Fix a bug in Have_I_right
2012-11-08 21:23:30 +01:00

15 lines
474 B
HTML

{% extends "templates/base.html" %}
{% block content %}
{% if categories|length == 0 %}
<b>Any category available</b><br/><br/>
{% else %}
<table>
{% for category in categories %}
<tr><td>{{ category.id }}</td><td>{{ category.name }}</td><td><a href="/category/edit/{{ category.id }}">Edit</a></td><td><a href="/category/delete/{{ category.id }}">Delete</a></td></tr>
{% endfor %}
</table>
{% endif %}
<li><a href="/category/add">Add a category</a></li>
{% endblock %}