moved display message to base.html, should have done this from the beginning (doh), and then fixed deletion errors/redirections to be moe sensible

This commit is contained in:
2020-12-26 22:19:05 +11:00
parent 80719a3657
commit de860a1319
7 changed files with 19 additions and 32 deletions

View File

@@ -125,11 +125,6 @@ function AddAuthorToBook(num) {
{% set keys = [ 'title', 'author', 'publisher', 'genre', 'owned', 'covertype', 'condition', 'year_published', 'rating', 'notes', 'blurb' ] %}
<div class="container-fluid">
{% if message|length %}
<div class="row alert alert-{{alert}}">
{{message|safe}}
</div>
{% endif %}
<div class="row">
<form role="form" class="form col-lg-10" action="" method="POST">
{{ book_form.id }}