From 716e357060f29f7d4c2df74bd584cd8e658024e6 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 14 Mar 2022 12:54:50 -0700 Subject: [PATCH] Use plus icon on add field button --- bookwyrm/forms/books.py | 2 +- .../templates/book/edit/edit_book_form.html | 32 +++++++++++++++---- 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/bookwyrm/forms/books.py b/bookwyrm/forms/books.py index 64b85d0b2..91d9b8f00 100644 --- a/bookwyrm/forms/books.py +++ b/bookwyrm/forms/books.py @@ -45,7 +45,7 @@ class EditionForm(CustomForm): attrs={"aria-describedby": "desc_languages_help desc_languages"} ), "subjects": forms.TextInput( - attrs={"aria-describedby": "desc_subjects_help desc_subjects"} + attrs={"aria-describedby": "desc_subjects"} ), "publishers": forms.TextInput( attrs={"aria-describedby": "desc_publishers_help desc_publishers"} diff --git a/bookwyrm/templates/book/edit/edit_book_form.html b/bookwyrm/templates/book/edit/edit_book_form.html index fc15d26ae..42f1840df 100644 --- a/bookwyrm/templates/book/edit/edit_book_form.html +++ b/bookwyrm/templates/book/edit/edit_book_form.html @@ -89,7 +89,13 @@
- +
{% endfor %} - + {% include 'snippets/form_errors.html' with errors_list=form.subjects.errors id="desc_subjects" %} @@ -186,7 +201,12 @@ {% endfor %} - + + +