diff --git a/bookwyrm/templates/snippets/create_status/comment.html b/bookwyrm/templates/snippets/create_status/comment.html index 4bf1fc243..82ccdbe70 100644 --- a/bookwyrm/templates/snippets/create_status/comment.html +++ b/bookwyrm/templates/snippets/create_status/comment.html @@ -35,7 +35,7 @@ uuid: a unique identifier used to make html "id" attributes unique and clarify j size="3" value="{% firstof draft.progress readthrough.progress '' %}" id="progress_{{ uuid }}" - data-cache-draft="id_progress_comment_{{ book.id }}" + {% if not draft %}data-cache-draft="id_progress_comment_{{ book.id }}"{% endif %} >
@@ -43,7 +43,7 @@ uuid: a unique identifier used to make html "id" attributes unique and clarify j
diff --git a/bookwyrm/templates/snippets/create_status/review.html b/bookwyrm/templates/snippets/create_status/review.html index 67214f332..13d349caf 100644 --- a/bookwyrm/templates/snippets/create_status/review.html +++ b/bookwyrm/templates/snippets/create_status/review.html @@ -24,7 +24,7 @@ uuid: a unique identifier used to make html "id" attributes unique and clarify j id="id_name_{{ book.id }}" placeholder="{% blocktrans with book_title=book.title %}Your review of '{{ book_title }}'{% endblocktrans %}" value="{% firstof draft.name ''%}" - data-cache-draft="id_name_{{ book.id }}_{{ type }}" + {% if not draft %}data-cache-draft="id_name_{{ book.id }}_{{ type }}"{% endif %} >