Show notification banner on top of form when book failed to update

This commit is contained in:
Christof Dorner 2023-02-25 23:20:00 +01:00
parent 5df0ead776
commit bc0b291d36

View file

@ -37,6 +37,14 @@
{% endif %}
</header>
{% if form.errors %}
<div class="block">
<p class="notification is-danger is-light">
{% trans "Failed to save book, see errors below for more information." %}
</p>
</div>
{% endif %}
<form
class="block"
{% if book.id %}