Added books.html

parent b65c88a4
{% extends 'base.html' %}
{% load static %}
{% block title %} My Favorite Books{% endblock %}
{% block header %}Dani's Favorite Books:{% endblock %}
{% block body %}
<ol>
<ul>
{% for books in object_list %}
<li>
<a href="/books/{{ books.pk }}/details/"> {{ books.title }} </a><br>
<a href="/bookshelf/books/{{ books.pk }}/details/"> {{ books.title }} </a><br>
</li>
{& endfor %}
</ol>
{% endfor %}
</ul>
<br>
<a href="/home">Home</a>----------------------------------------------
<a href="/author">Authors</a>
<a href="/bookshelf">Home</a>----------------------------------------------
<a href="/bookshelf/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