added an edit book button to the book details page

parent fa771b50
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
<p>ISBN: {{ object.ISBN }}</p> <p>ISBN: {{ object.ISBN }}</p>
<p>Blurb: {{ object.blurb }}</p> <p>Blurb: {{ object.blurb }}</p>
<form action="./edit">
<input type="submit" value="Edit Book">
</form>
<a href = '/bookshelf/home/'>Home</a> <a href = '/bookshelf/home/'>Home</a>
<a href = '/bookshelf/books/'>Books</a> <a href = '/bookshelf/books/'>Books</a>
<a href = '/bookshelf/authors/'>Authors</a> <a href = '/bookshelf/authors/'>Authors</a>
......
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