diff --git a/python/web/templates/base/main.html b/python/web/templates/base/main.html new file mode 100644 index 0000000..47ad4e4 --- /dev/null +++ b/python/web/templates/base/main.html @@ -0,0 +1,5 @@ + + +{% block title %}{% endblock %} + + +{% if book.subtitle %} + Subtitle: {{ book.subtitle }}
+{% endif %} +ISBN: {{ book.isbn }}
+{% for person in people %} + {{ person.relation }} : {{ person.person.first_name }} {{ person.person.last_name }}
+{% endfor %} diff --git a/python/web/templates/person/view.html b/python/web/templates/person/view.html new file mode 100644 index 0000000..2095d70 --- /dev/null +++ b/python/web/templates/person/view.html @@ -0,0 +1,9 @@ + + {{ title }} + + + +Name: {{person.first_name}} {{person.last_name}}
+{% for book in books %} +{{ book.relation.name }} of: {{ book.book.title }}
+{% endfor %}