mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-16 13:16:33 +00:00
Retain reading status on comments
This commit is contained in:
parent
eac1ed3484
commit
a9daa4670e
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ reply_parent: the Status object this post will be in reply to, if applicable
|
||||||
<input type="hidden" name="book" value="{{ book.id }}">
|
<input type="hidden" name="book" value="{{ book.id }}">
|
||||||
<input type="hidden" name="user" value="{{ request.user.id }}">
|
<input type="hidden" name="user" value="{{ request.user.id }}">
|
||||||
<input type="hidden" name="reply_parent" value="{% firstof draft.reply_parent.id reply_parent.id %}">
|
<input type="hidden" name="reply_parent" value="{% firstof draft.reply_parent.id reply_parent.id %}">
|
||||||
|
{% if draft %}
|
||||||
|
<input type="hidden" name="reading_status" value="{{ draft.reading_status|default:'' }}">
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% include "snippets/create_status/content_warning_field.html" %}
|
{% include "snippets/create_status/content_warning_field.html" %}
|
||||||
|
|
Loading…
Reference in a new issue