Commit 6a8ca767 authored by Jan Enzo Salvador's avatar Jan Enzo Salvador

Provided content for author_details.html

parent 165ccbae
{% extends 'base.html' %}
{% load static %}
{% block title %} {{ object.first_name }} {{ object.last_name }} {% endblock %}
{% block content %}
<h1>{{ object.first_name }} {{ object.last_name }}</h1>
<body>
<a href="{{ object.get_absolute_url }}">
{{ object.first_name }} {{ object.last_name }}<br>
</a>
{{ object.age }}<br>
{{ object.nationality }}<br>
{{ object.bio }}<br><br>
Books by {{ object.first_name }} {{ object.last_name }} I love:
{% endfor %}
</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/books">Books</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="/bookshelf/authors">Authors
</footer>
{% 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