Updated book-details for edit buttons

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