Commit 906ce6c8 authored by Ciella's avatar Ciella

Bugfix for overlooked feature in author details page

parent 4d09c613
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
<p>{{ object.age }}</p> <p>{{ object.age }}</p>
<p>{{ object.nationality }}</p> <p>{{ object.nationality }}</p>
<p>{{ object.bio }}</p> <p>{{ object.bio }}</p>
<button type="button" class="btn btn-lg">
<a href="../edit">Edit Author</a>
</button>
<br><br>
<p>Books by {{ object }} I love: </p> <p>Books by {{ object }} I love: </p>
<ul> <ul>
{% for book in object.books_published.all %} {% for book in object.books_published.all %}
...@@ -19,9 +23,6 @@ ...@@ -19,9 +23,6 @@
{% endfor %} {% endfor %}
</ul> </ul>
</h4><br> </h4><br>
<button type="button" class="btn btn-lg">
<a href="../edit">Edit Author</a>
</button>
{% endblock %} {% endblock %}
{% block links %} {% block links %}
......
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