lesetagebuch/templates/home.html

23 lines
469 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title> Lesetagebuch </title>
</head>
<body>
<ul>
{% for book in books %}
<li>
<a href="/book/{{book.id}}">{{ book.title }}</a>
</li>
{% endfor %}
</ul>
<form action="/book/new" method="POST">
<input name="title">
<input type="submit" value="+">
</form>
</body>
</html>