lagt inn litt grunnleggende css i base/main.html

This commit is contained in:
2011-03-05 21:06:42 +00:00
parent 2420bb2ec1
commit ef48ba039c
3 changed files with 24 additions and 5 deletions

View File

@@ -1,9 +1,12 @@
<head>
<title> {{ title }} </title>
</head>
{% extends "base/main.html" %}
<body>
{% block title%}
Worblehat 0.1: {{ person.first_name }} {{ person.last_name }}
{% endblock %}
{% block content %}
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 %}
{% endblock %}