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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user