Added books.html

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