diff --git a/bookwyrm/templates/book.html b/bookwyrm/templates/book.html index 503da72f..47b99483 100644 --- a/bookwyrm/templates/book.html +++ b/bookwyrm/templates/book.html @@ -28,7 +28,7 @@ {% if request.user.is_authenticated and not book.cover %}
-
+ {% csrf_token %}
diff --git a/bookwyrm/templates/edit_book.html b/bookwyrm/templates/edit_book.html index 082848af..bd89ac0a 100644 --- a/bookwyrm/templates/edit_book.html +++ b/bookwyrm/templates/edit_book.html @@ -20,7 +20,7 @@
- + {% csrf_token %}

Data sync diff --git a/bookwyrm/templates/edit_user.html b/bookwyrm/templates/edit_user.html index d50956c2..7e963b5b 100644 --- a/bookwyrm/templates/edit_user.html +++ b/bookwyrm/templates/edit_user.html @@ -6,7 +6,7 @@ {% if form.non_field_errors %}

{{ form.non_field_errors }}

{% endif %} - + {% csrf_token %}

diff --git a/bookwyrm/templates/import.html b/bookwyrm/templates/import.html index ee99a615..c3644812 100644 --- a/bookwyrm/templates/import.html +++ b/bookwyrm/templates/import.html @@ -3,7 +3,7 @@ {% block content %}

Import Books from GoodReads

- + {% csrf_token %}
{{ import_form.as_p }} @@ -31,7 +31,7 @@ {% endif %}
diff --git a/bookwyrm/templates/manage_invites.html b/bookwyrm/templates/manage_invites.html index 621aa624..14808490 100644 --- a/bookwyrm/templates/manage_invites.html +++ b/bookwyrm/templates/manage_invites.html @@ -27,7 +27,7 @@

Generate New Invite

- + {% csrf_token %}
diff --git a/bookwyrm/templates/notifications.html b/bookwyrm/templates/notifications.html index 124304a9..bc96f307 100644 --- a/bookwyrm/templates/notifications.html +++ b/bookwyrm/templates/notifications.html @@ -44,7 +44,7 @@ boosted your status {% endif %} {% else %} - your import completed. + your import completed. {% endif %}

diff --git a/bookwyrm/templates/search_results.html b/bookwyrm/templates/search_results.html index d35881f1..1f48ee86 100644 --- a/bookwyrm/templates/search_results.html +++ b/bookwyrm/templates/search_results.html @@ -47,7 +47,7 @@
    {% for result in result_set.results %}
  • - + {% csrf_token %}
    {% include 'snippets/search_result_text.html' with result=result link=False %}
    diff --git a/bookwyrm/templates/snippets/finish_reading_modal.html b/bookwyrm/templates/snippets/finish_reading_modal.html index 5002a647..8f8aeeff 100644 --- a/bookwyrm/templates/snippets/finish_reading_modal.html +++ b/bookwyrm/templates/snippets/finish_reading_modal.html @@ -9,10 +9,9 @@ {% active_read_through book user as readthrough %} - +