forked from mirrors/bookwyrm
25 lines
1.1 KiB
HTML
25 lines
1.1 KiB
HTML
{% load bookwyrm_tags %}
|
|
<form class="is-flex-grow-1" name="reply" action="/post/reply" method="post">
|
|
<div class="columns is-align-items-flex-end">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="reply_parent" value="{{ status.id }}">
|
|
<input type="hidden" name="user" value="{{ request.user.id }}">
|
|
<div class="column">
|
|
{% include 'snippets/content_warning_field.html' with parent_status=status %}
|
|
<label for="id_content_{{ status.id }}-{{ uuid }}" class="is-sr-only">Reply</label>
|
|
<div class="field">
|
|
<textarea class="textarea" name="content" placeholder="Leave a comment..." id="id_content_{{ status.id }}-{{ uuid }}" required="true"></textarea>
|
|
</div>
|
|
</div>
|
|
<div class="column is-narrow">
|
|
<div class="field">
|
|
{% include 'snippets/privacy_select.html' with current=status.privacy %}
|
|
</div>
|
|
<div class="field">
|
|
<button class="button is-primary" type="submit">
|
|
post reply
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|