<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Bookstore:All Books</title>
</head>
<body>
<h1>Books</h1>
<table border='1'>
   <tr><th>ISBN</th><th>Title</th><th>Author</th><th>Year</th><th>Price</th><th>Category</th></tr>
    {% for book in object_list %}
    <tr>
        <td>{{ book.ISBN }}</td>
        <td>{{ book.Title }}</td>
        <td>{{ book.Author }}</td>
        <td>{{ book.Year }}</td>
        <td>{{ book.Price }}</td>
        <td>{{ book.Category }}</td>
    </tr>
    {% endfor %}
</table>
<div>
    <a href="AddBook">Add</a>&nbsp;<a href="DeleteBook">Delete</a>&nbsp;<a href="UpdateBook">Update</a>
</div>
</body>
</html>