NDOJ/templates/comments/edit-ajax.html

15 lines
572 B
HTML
Raw Normal View History

2020-01-21 06:35:58 +00:00
<div class="comment-submit">
2023-01-27 23:11:10 +00:00
<form id="comment-edit" action="{{ request.get_full_path() }}" method="post">
<span style="display: none" class="comment-id">{{ comment.id }}</span>
<span style="display: none" class="read-back">{{ url('comment_content', comment.id) }}</span>
{% csrf_token %}
{{ form.non_field_errors() }}
{{ form.body.errors }}
<div class="comment-post-wrapper">
<div id="comment-form-body">{{ form.body }}</div>
</div>
<hr>
<input style="float: right" type="submit" value="Post!" class="button">
</form>
2020-01-21 06:35:58 +00:00
</div>