mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
Merge pull request #2695 from chdorner/book-edit-form-validation-notification
Show notification banner on top of form when book failed to update
This commit is contained in:
commit
48889ee6c4
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