Commit ecd31c30 authored by Trisha Angel Millena's avatar Trisha Angel Millena

Edited book_details.html

parent 6d39344a
...@@ -16,6 +16,6 @@ ...@@ -16,6 +16,6 @@
</ul> </ul>
<a href='/bookshelf/home/'>Home</a> <a href='/bookshelf/home/'>Home</a>
<a href='/bookshelf/authors/'>Books</a> <a href='/bookshelf/books/'>Books</a>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -2,8 +2,18 @@ ...@@ -2,8 +2,18 @@
{% load static %} {% load static %}
{% block title %} {% endblock %} {% block title %}{{ object.title }}{% endblock %}
{% block content %} {% block content %}
<h1>{{ object.title }}</h1>
<a href ="{{object.author.get_absolute_url}}">{{ object.author }}</a>
<p>{{ object.publisher }}</p>
<p>{{ object.year_published }}</p>
<p>{{ object.ISBN }}</p>
<p>{{ object.blurb }}</p>
<a href='/bookshelf/home/'>Home</a>
<a href='/bookshelf/books/'>Books</a>
<a href='/bookshelf/authors/'>Authors</a>
{% 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