Updated book-details for edit buttons

parent bc60fbac
......@@ -13,11 +13,14 @@
<h2> "{{ book.blurb }}" </h2>
</head>
<div class="flex-parent jc-center">
<a href="{% url 'bookshelf:edit_book' book.id %}" type="button" class="btn btn-outline-secondary">Edit Book</a>
</div>
<body>
<div class="flex-parent jc-center">
<button onclick="location.href = '/bookshelf/home'" class="green margin-left">Home</button>
<button onclick="location.href = '/bookshelf/home/books'" class="blue">Books</button>
<button onclick="location.href = '/bookshelf/home/authors'" class="pink margin-right">Authors</button>
<a href="{% url 'bookshelf:home' %}" type="button" class="btn btn-outline-secondary">Home</a>
<a href="{% url 'bookshelf:authors' %}" type="button" class="btn btn-outline-secondary">Authors</a>
</div>
</body>
......
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