Commit 42e0eb76 authored by Jan Enzo Salvador's avatar Jan Enzo Salvador

fixed the books.html

parent c42e5a01
<!-- books_list.html -->
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %} {% load static %}
{% block title %}My Favorite Books{% endblock %} {% block title %} My Favorite Books {% endblock %}
{% block content %} {% block content %}
<h1>Enzo's Favorite Books:</h1> <h1>Enzo's Favorite Books:</h1>
<body> <body>
{% for object in object_list %} {% for object in object_list %}
<li>
<a href="{{ object.get_absolute_url }}">{{ object.title }}</a> <a href="{{ object.get_absolute_url }}">{{ object.title }}</a>
</li>
{% endfor %} {% endfor %}
</body> </body>
<footer>
<br><br>
<a href="/bookshelf/home">Home</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="/bookshelf/authors">Authors</a>
</footer>
{% 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