summaryrefslogtreecommitdiff
path: root/comments/templates/comments/new_reply.html
diff options
context:
space:
mode:
Diffstat (limited to 'comments/templates/comments/new_reply.html')
-rw-r--r--comments/templates/comments/new_reply.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/comments/templates/comments/new_reply.html b/comments/templates/comments/new_reply.html
new file mode 100644
index 0000000..71532c8
--- /dev/null
+++ b/comments/templates/comments/new_reply.html
@@ -0,0 +1,13 @@
+{% extends 'comments/comment_base.html' %}
+{% block content %}
+<div id="new-reply-form">
+ <h5><u>New reply form</u></h5>
+ <form action="/comments/new-reply/" method="POST" accept-charset="utf-8"> {% csrf_token %}
+ {{ form.errors }}
+ {{ form.comment_id }}
+ {{ form.body }} <br>
+ <input class="btn btn-primary" type="submit" value="Submit">
+ <a class="btn btn-default" href="/comments/get/?book={{ comment.book }}&chapter={{ comment.chapter }}&example={{ comment.example }}&page={{ comment.page }}">Cancel</a>
+ </form>
+</div> <!-- /#new-comment-form -->
+{% endblock %}