Lagt til html-visning av kategorier og en oversikt over hyller.

This commit is contained in:
2011-03-06 18:01:15 +00:00
parent acb9bd6501
commit 79c73b2502
6 changed files with 72 additions and 6 deletions

View File

@@ -0,0 +1,14 @@
{% extends "base/main.html" %}
{%block title%}
Worblehat 0.1: Kategorier
{% endblock %}
{% block content %}
<h3>Kategorier:</h3>
<ul>
{% for category in categories %}
<li><a href="/kategori/{{ category.id }}">{{ category }}</a></li>
{% endfor %}
</ul>
{% endblock %}