23 lines
678 B
HTML
23 lines
678 B
HTML
{% extends "base/main.html" %}
|
|
|
|
{% block title%}
|
|
Worblehat: {{ person.first_name }} {{ person.last_name }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2>{{ person.first_name }} {{ person.last_name }}</h2>
|
|
{% for relation, books in contributed.iteritems %}
|
|
<span class="key">{{ relation }}:</span><br/>
|
|
<ul>
|
|
{% for book in books.1 %}
|
|
<li> <a href=/bok/{{book.book.isbn}}>{{ book.book.title }}</a>
|
|
<!--- <span class="key">Name:</span> {{person.first_name}} {{person.last_name}}<br>
|
|
{% for book in books %}
|
|
<span class="key">{{ book.relation.name }} of:</span> <a href=/bok/{{ book.book.isbn }}>{{ book.book.title }}</a> <br>
|
|
---!>
|
|
{% endfor %}
|
|
<br/>
|
|
</ul>
|
|
{% endfor %}
|
|
{% endblock %}
|