From a027204e5b382b7e500551aefb7946707efaf465 Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Tue, 10 Jan 2023 16:51:13 -0500 Subject: [PATCH] Fix spelling in author form MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "oepnlibrary" ➡️ "openlibrary" --- bookwyrm/forms/author.py | 4 ++-- bookwyrm/templates/author/edit_author.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bookwyrm/forms/author.py b/bookwyrm/forms/author.py index 37dba629f..5b54a07b5 100644 --- a/bookwyrm/forms/author.py +++ b/bookwyrm/forms/author.py @@ -35,8 +35,8 @@ class AuthorForm(CustomForm): "website": forms.TextInput(attrs={"aria-describedby": "desc_website"}), "born": forms.SelectDateWidget(attrs={"aria-describedby": "desc_born"}), "died": forms.SelectDateWidget(attrs={"aria-describedby": "desc_died"}), - "oepnlibrary_key": forms.TextInput( - attrs={"aria-describedby": "desc_oepnlibrary_key"} + "openlibrary_key": forms.TextInput( + attrs={"aria-describedby": "desc_openlibrary_key"} ), "inventaire_id": forms.TextInput( attrs={"aria-describedby": "desc_inventaire_id"} diff --git a/bookwyrm/templates/author/edit_author.html b/bookwyrm/templates/author/edit_author.html index 9ea932bf6..12ddc4d28 100644 --- a/bookwyrm/templates/author/edit_author.html +++ b/bookwyrm/templates/author/edit_author.html @@ -81,7 +81,7 @@ {{ form.openlibrary_key }} - {% include 'snippets/form_errors.html' with errors_list=form.oepnlibrary_key.errors id="desc_oepnlibrary_key" %} + {% include 'snippets/form_errors.html' with errors_list=form.openlibrary_key.errors id="desc_openlibrary_key" %}