summaryrefslogtreecommitdiff
path: root/static/website/templates/get-question.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates/get-question.html')
-rw-r--r--static/website/templates/get-question.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/static/website/templates/get-question.html b/static/website/templates/get-question.html
index 48aa427..2b0371e 100644
--- a/static/website/templates/get-question.html
+++ b/static/website/templates/get-question.html
@@ -120,7 +120,7 @@
<div class="comments col-lg-11 pull-right">
<!-- displaying comments -->
{% for comment in answer.answercomment_set.all %}
- <div class="comment">
+ <div class="comment" id="comment{{ comment.id }}">
<div class="body" id="cbody{{ comment.id }}">
{{ comment.body|safe }}
</div>
@@ -128,12 +128,12 @@
<span class="meta">
<small>
<i>
- {{ question.date_created|date:"d-m-y" }}, {{ question.date_created|time }}
+ {{ comment.date_created|date:"d-m-y" }}, {{ question.date_created|time }}
</i>
</small>
<span class="user">
- {{ question.user }}
+ {{ comment.user }}
</span>
</span>
{% if user|can_edit:comment %}