added html for books list

parent 800ac8a8
Pipeline #3058 canceled with stages
<!DOCTYPE html> {% extends 'base.html' %}
<html lang="en"> {% load static %}
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
</body> {% block title %} My Favorite Books{% endblock %}
</html> {% block header %}Dani's Favorite Books:{% endblock %}
\ No newline at end of file {% block body %}
<ol>
{% for books in object_list %}
<li>
<a href="/books/{{ books.pk }}/details/"> {{ books.title }} </a><br>
</li>
{& endfor %}
</ol>
<br>
<a href="/home">Home</a>----------------------------------------------
<a href="/author">Authors</a>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment