From: Matthijs Kooijman Date: Fri, 31 Oct 2008 13:25:29 +0000 (+0100) Subject: Move the new comment form to the right template. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fxerxes.git;a=commitdiff_plain;h=b582ec094af334aa50ad25fb3c7214ad2ab1ff71 Move the new comment form to the right template. The "reply to this comment" forms were already in influence_comments_block, but the "new comment" form was not. --- diff --git a/templates/influences/influence_comments_block.html b/templates/influences/influence_comments_block.html index 255482a..5392d2f 100644 --- a/templates/influences/influence_comments_block.html +++ b/templates/influences/influence_comments_block.html @@ -36,3 +36,17 @@ {% else %} {% trans "No comments were added yet" %} {% endif %} + + +
+ +

{% trans "Add comment" %}

+
+

Cancel comment

+ + {{ comment_form.as_table }} +
+
+ {# #} +
+
diff --git a/templates/influences/influence_detail_block.html b/templates/influences/influence_detail_block.html index 692d0b0..0037d09 100644 --- a/templates/influences/influence_detail_block.html +++ b/templates/influences/influence_detail_block.html @@ -13,17 +13,3 @@

{% trans "Comments" %}

{% include "influences/influence_comments_block.html" %} - - -
- -

{% trans "Add comment" %}

-
-

Cancel comment

- - {{ comment_form.as_table }} -
-
- {# #} -
-