lagt til litt templates
This commit is contained in:
9
python/web/templates/person/view.html
Normal file
9
python/web/templates/person/view.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<head>
|
||||
<title> {{ title }} </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
Name: {{person.first_name}} {{person.last_name}}<br>
|
||||
{% for book in books %}
|
||||
{{ book.relation.name }} of: <a href=/book/{{ book.book.isbn }}>{{ book.book.title }}</a> <br>
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user