Commit 911ccf94 authored by Elaiza Bolislis's avatar Elaiza Bolislis

Added a button in the Author’s details page that redirects the user to the 'Edit Author' page.

parent 334389d0
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
<p>{{ object.age }}</p> <p>{{ object.age }}</p>
<p>{{ object.nationality }}</p> <p>{{ object.nationality }}</p>
<p>{{ object.bio }}</p> <p>{{ object.bio }}</p>
<p><button onclick="location.href='edit'">Edit Author</button></p>
<p>Books by {{ object }} I love:</p> <p>Books by {{ object }} I love:</p>
<ul> <ul>
{% for book in books %} {% for book in books %}
......
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