Commit 5aaeb271 authored by Ysabella Panghulan's avatar Ysabella Panghulan

created authors list template

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