#12 påbegynt. Har nå blått utseende på ting.

This commit is contained in:
2011-03-06 12:26:35 +00:00
parent ca1f1cfbcb
commit 1d329b7268
5 changed files with 75 additions and 14 deletions

View File

@@ -3,14 +3,13 @@
{%block title%}
Worblehat 0.1: {{ book.title }}
{% endblock %}
{% block content %}
Title: {{ book.title }} <br>
<span class="key">Title:</span> {{ book.title }} <br>
{% if book.subtitle %}
Subtitle: {{ book.subtitle }} <br>
<span class="key">Subtitle:</span> {{ book.subtitle }} <br>
{% endif %}
ISBN: {{ book.isbn }} <br>
<span class="key">ISBN:</span> {{ book.isbn }} <br>
{% for person in people %}
{{ person.relation }} : <a href=/person/{{person.person.id}}>{{ person.person.first_name }} {{ person.person.last_name }}</a> <br>
<span class="key">{{ person.relation }}:</span> <a href=/person/{{person.person.id}}>{{ person.person.first_name }} {{ person.person.last_name }}</a> <br>
{% endfor %}
{% endblock %}