2020-12-13 02:25:04 +00:00
|
|
|
{% load bookwyrm_tags %}
|
2021-01-15 17:45:33 +00:00
|
|
|
<form class="is-flex-grow-1" name="reply" action="/post/reply" method="post">
|
2021-01-14 21:45:41 +00:00
|
|
|
<div class="columns is-align-items-flex-end">
|
2020-11-05 19:40:03 +00:00
|
|
|
{% csrf_token %}
|
2020-12-31 01:36:35 +00:00
|
|
|
<input type="hidden" name="reply_parent" value="{{ status.id }}">
|
2020-11-05 19:40:03 +00:00
|
|
|
<input type="hidden" name="user" value="{{ request.user.id }}">
|
|
|
|
<div class="column">
|
2021-01-14 21:43:52 +00:00
|
|
|
{% include 'snippets/content_warning_field.html' with parent_status=status %}
|
2020-12-31 01:38:38 +00:00
|
|
|
<label for="id_content_{{ status.id }}-{{ uuid }}" class="is-sr-only">Reply</label>
|
2020-11-05 19:40:03 +00:00
|
|
|
<div class="field">
|
2021-01-01 17:35:14 +00:00
|
|
|
<textarea class="textarea" name="content" placeholder="Leave a comment..." id="id_content_{{ status.id }}-{{ uuid }}" required="true"></textarea>
|
2020-11-05 19:40:03 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="column is-narrow">
|
|
|
|
<div class="field">
|
2020-12-31 01:36:35 +00:00
|
|
|
{% include 'snippets/privacy_select.html' with current=status.privacy %}
|
2020-11-05 19:40:03 +00:00
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<button class="button is-primary" type="submit">
|
|
|
|
post reply
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|