Button has been moved to the bottom

parent 6ad7e15b
......@@ -12,10 +12,10 @@
<li>{{ author.bio }}</li>
</div>
</ul>
<button onclick="window.location.href='../../../authors/{{author.id}}/edit/';">Edit Author</button><br/>
<p>
<a href="http://127.0.0.1:8000/bookshelf/home">Home</a>
<a href="http://127.0.0.1:8000/bookshelf/books">Books</a>
<a href="http://127.0.0.1:8000/bookshelf/authors">Authors</a>
<button onclick="window.location.href='../../../authors/{{author.id}}/edit/';">Edit Author</button><br/>
</p>
{% endblock %}
\ No newline at end of file
......@@ -14,10 +14,10 @@
<li>{{ object.blurb }}</li>
</div>
</ul>
<button onclick="window.location.href='../../../books/{{object.id}}/edit/';">Edit Book</button><br/>
<p>
<a href="http://127.0.0.1:8000/bookshelf/home">Home</a>
<a href="http://127.0.0.1:8000/bookshelf/books">Books</a>
<a href="http://127.0.0.1:8000/bookshelf/authors">Authors</a>
<button onclick="window.location.href='../../../books/{{object.id}}/edit/';">Edit Book</button><br/>
</p>
{% endblock %}
\ No newline at end of file
h1{
text-align: center;
color:darkcyan
color:darkcyan;
}
ul{
text-align: center;
......
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