finished both details html

parent 5954aeb1
Pipeline #3093 failed with stages
{% extends 'base.html' %}
{% block title %}{{object.first_name}} {{object.last_name}}{% endblock %}
{% block heading %}
{{object.first_name}} {{object.last_name}}
{% endblock %}
{%block text%}
<ul><ul><a href="{{object.get_absolute_url}}">{{object.author}}</a></ul></ul>
<ul><ul>{{object.age}}</ul></ul>
<ul><ul>{{object.nationality}}</ul></ul>
<ul><ul>{{object.bio}}</ul></ul>
{%endblock%}
{%block hyperlinks%}
<h1>Books by {{object.first_name}} {{object.last_name}} I love:</h1>
{% for book in book_list %}
{%if book.author == object%}
<ul><li><a href="{{book.get_absolute_url}}">{{book.title}}</a></li></ul>
{% endif %}
{% endfor %}
<br></br>
<ul><ul><a href="/home">Home</a>
<a href="/books">Books</a>
<a href="/authors">Authors</a></ul></ul>
{%endblock%}
\ No newline at end of file
{% extends 'base.html' %}
{% block title %}{{object.title}}{% endblock %}
{% block heading %}
{{object.title}}
{% endblock %}
{%block hyperlinks%}
<ul><a href="{{object.author.get_absolute_url}}">{{object.author}}</a></ul>
<ul>{{object.publisher}}</ul>
<ul>{{object.year_published}}</ul>
<ul>{{object.ISBN}}</ul>
<ul>{{object.blurb}}</ul>
<br></br>
<ul><ul><a href="/home">Home</a>
<a href="/books">Books</a>
<a href="/authors">Authors</a></ul></ul>
{%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