added an edit author button to the author details page

parent 8e1d1e34
......@@ -10,6 +10,10 @@
<p>Nationality: {{ object.nationality }}</p>
<p>Biography: {{ object.bio }}</p>
<form action="./edit">
<input type="submit" value="Edit Author">
</form>
<b>Books by {{ object }} I love:</b>
<ul>
{% for book in object.book_set.all %}
......
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