Button has been moved to the bottom

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