Adds commenting

works on #59
This commit is contained in:
Mouse Reeve
2020-03-21 16:50:49 -07:00
parent 3f96c8cd9d
commit 7862af9729
16 changed files with 222 additions and 31 deletions

View File

@ -1,11 +1,11 @@
{% load fr_display %}
<div class="interaction">
<form name="comment" action="/comment" method="post" onsubmit="return comment(e_">
<form name="reply" action="/reply" method="post" onsubmit="return reply(event)">
{% csrf_token %}
<input type="hidden" name="parent" value="{{ activity.id }}"></input>
<textarea name="content" placeholder="Leave a comment..." id="id_content" required="true"></textarea>
<button type="submit" class="comment">
<button type="submit">
<span class="icon icon-comment">
<span class="hidden-text">Comment</span>
</span>