mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-25 16:38:09 +00:00
Show notification banner on top of form when book failed to update
This commit is contained in:
parent
5df0ead776
commit
bc0b291d36
1 changed files with 8 additions and 0 deletions
|
@ -37,6 +37,14 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</header>
|
</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
|
<form
|
||||||
class="block"
|
class="block"
|
||||||
{% if book.id %}
|
{% if book.id %}
|
||||||
|
|
Loading…
Reference in a new issue