lagt til litt templates
This commit is contained in:
8
python/web/templates/book/view.html
Normal file
8
python/web/templates/book/view.html
Normal file
@@ -0,0 +1,8 @@
|
||||
Title: {{ book.title }} <br>
|
||||
{% if book.subtitle %}
|
||||
Subtitle: {{ book.subtitle }} <br>
|
||||
{% endif %}
|
||||
ISBN: {{ 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>
|
||||
{% endfor %}
|
Reference in New Issue
Block a user