Ties draft functionality to more status fields

This commit is contained in:
Mouse Reeve
2021-09-08 19:30:24 -07:00
parent 59ec45496c
commit 71b2f91a73
6 changed files with 37 additions and 6 deletions

View File

@ -8,5 +8,7 @@
class="input"
id="id_content_warning_{{ uuid }}"
placeholder="{% trans 'Spoilers ahead!' %}"
value="{% firstof draft.content_warning parent_status.content_warning '' %}">
value="{% firstof draft.content_warning parent_status.content_warning '' %}"
data-cache-draft="id_content_warning_{{ book.id }}_{{ type }}"
>
</div>