From 6fff45d36c6363b88cf9aa720bbaf73705020faa Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 18 May 2021 13:04:28 -0700 Subject: [PATCH 1/2] Adds language field to edit book form --- bookwyrm/templates/book/edit_book.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/bookwyrm/templates/book/edit_book.html b/bookwyrm/templates/book/edit_book.html index a230e290c..4511d36f4 100644 --- a/bookwyrm/templates/book/edit_book.html +++ b/bookwyrm/templates/book/edit_book.html @@ -117,11 +117,23 @@

{{ error | escape }}

{% endfor %} -

{{ form.series_number }}

+

+ + {{ form.series_number }} +

{% for error in form.series_number.errors %}

{{ error | escape }}

{% endfor %} +

+ + {{ form.languages }} + {% trans "Separate multiple values with commas." %} +

+ {% for error in form.languages.errors %} +

{{ error | escape }}

+ {% endfor %} +

{{ form.publishers }} From 8fc0da8dc22b323eab15fe48268a18b15e877d13 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 18 May 2021 16:10:43 -0700 Subject: [PATCH 2/2] Adds inventaire ID field to edit book form --- bookwyrm/templates/book/edit_book.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bookwyrm/templates/book/edit_book.html b/bookwyrm/templates/book/edit_book.html index 4511d36f4..8dae1d044 100644 --- a/bookwyrm/templates/book/edit_book.html +++ b/bookwyrm/templates/book/edit_book.html @@ -88,6 +88,7 @@

{% trans "Metadata" %}

+

@@ -228,18 +229,27 @@ {% for error in form.isbn_13.errors %}

{{ error | escape }}

{% endfor %} +

{{ form.isbn_10 }}

{% for error in form.isbn_10.errors %}

{{ error | escape }}

{% endfor %} -

{{ form.openlibrary_key }}

+ +

{{ form.openlibrary_key }}

{% for error in form.openlibrary_key.errors %}

{{ error | escape }}

{% endfor %} + +

{{ form.inventaire_id }}

+ {% for error in form.inventaire_id.errors %} +

{{ error | escape }}

+ {% endfor %} +

{{ form.oclc_number }}

{% for error in form.oclc_number.errors %}

{{ error | escape }}

{% endfor %} +

{{ form.asin }}

{% for error in form.ASIN.errors %}

{{ error | escape }}