Commit bd2b02f9 authored by Agu Syquia's avatar Agu Syquia

Updated book_details.html

Added a button that redirects to books/pk/details/edit.
parent 5de2e8fc
......@@ -11,5 +11,8 @@
{{ object.year_published }}<br>
{{ object.ISBN }}<br>
{{ object.blurb }}<br><br>
<button type = "button">
<a href="{{ object.get_absolute_url }}/edit/">Edit Book</a>
</button><br>
<a href="/home">Home</a> <a href="/books">Books</a> <a href="/authors">Authors</a>
{% 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