Commit c3809b7b authored by Jan Ericsson Ong Ang's avatar Jan Ericsson Ong Ang

Created Edit Book and Edit Author Buttons

parent daa370a6
......@@ -8,6 +8,12 @@
<p>{{ author.age }}</p>
<p>{{ author.nationality }}</p>
<p>{{ author.bio }}</p>
<button type="button">
<a href="/bookshelf/books/{{ book.id }}/edit/">
Edit Book
</a>
</button><br>
<p>Books by {{ author.first_name }} {{ author.last_name }} I love</p>
......
......@@ -10,6 +10,11 @@
<p>{{ books.year_published }}</p>
<p>{{ books.ISBN }}</p>
<p>{{ books.blurb }}</p>
<button type="button">
<a href="/bookshelf/books/{{ book.id }}/edit/">
Edit Book
</a>
</button><br>
<a href="/bookshelf/">Home</a>&nbsp;&nbsp;
<a href="/bookshelf/books/">Books</a>&nbsp;&nbsp;
......
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