Copy over the content warning when replying

This commit is contained in:
Thomas Sileo 2022-08-01 20:37:08 +02:00
parent 3fc6ac19f4
commit 9f3956db67
3 changed files with 8 additions and 1 deletions

View file

@ -75,7 +75,7 @@
{% endif %}
<p>
<input type="text" name="content_warning" placeholder="content warning (will mark the post as sensitive)" style="width:95%;">
<input type="text" name="content_warning" placeholder="content warning (will mark the post as sensitive)"{% if content_warning %} value="{{ content_warning }}"{% endif %} style="width:95%;">
</p>
<p>
<input type="checkbox" name="is_sensitive" id="is_sensitive"> <label for="is_sensitive">Mark attachment(s) as sensitive</label>