added html for books list

parent 800ac8a8
Pipeline #3058 canceled with stages
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
{% extends 'base.html' %}
{% load static %}
</body>
</html>
\ No newline at end of file
{% block title %} My Favorite Books{% endblock %}
{% block header %}Dani's Favorite Books:{% endblock %}
{% 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