Pimpa opp hyllene litt, i henhold til #12.

This commit is contained in:
2011-03-06 21:55:28 +00:00
parent 385c9c2247
commit 3109df62fb
3 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{% extends "base/main.html" %}
{%block title%}
Bøker
{% endblock %}
{% block content %}
<h2>Bøker:</h2>
<ul>
{% for book in books %}
<li><a href="/bok/{{ book.isbn }}">{{ book.title }}</a></li>
{% endfor %}
</ul>
{% endblock %}

View File

@@ -0,0 +1,14 @@
{% extends "base/main.html" %}
{%block title%}
Personer
{% endblock %}
{% block content %}
<h2>Personer:</h2>
<ul>
{% for person in persons %}
<li><a href="/person/{{ person.id }}">{{ person.first_name }} {{ person.last_name }}</a></li>
{% endfor %}
</ul>
{% endblock %}