Commit 12bfccc8 authored by Ysabella Panghulan's avatar Ysabella Panghulan

created books list template

parent 46e912e3
{%extends 'base.html'%}
{% block title %} My Favorite Books {% endblock %}
{% block header %}
<h2> Bella's Favorite Books: </h2>
{% endblock %}
{% block body %}
<div class="books-content">
{% block content %}
<div class="list">
<ul>
{% for object in object_list %}
<li>
<a href="{{ object.get_absolute_url }}">{{ object.title }}</a>
</li>
{% endfor %}
</ul>
</div>
<div class="links">
<ul>
<li><a href="/books">Books</a></li>
<li><a href="/authors">Authors</a></li>
</ul>
</div>
{% endblock %}
</div>
{% 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