Move the new comment form to the right template.
[matthijs/projects/xerxes.git] / templates / influences / influence_detail_block.html
index 692d0b09ea9f81bb0b4425f4b6745480a8d3ab3d..0037d092ebd54337df72c55d975ca57b49809318 100644 (file)
                
 <h2>{% trans "Comments" %}</h2>
 {% include "influences/influence_comments_block.html" %}
-
-<p style="display:none;" id="replyLink"><a href="javascript:showReply('')">Add comment</a></p>
-<div id="replyForm">
-<script type="text/javascript">hideReply('')</script>
-<h3>{% trans "Add comment" %}</h3>
-<form method="post" action="{% url influences_influence_comment object.id %}">
-       <p><a href="javascript:hideReply('')">Cancel comment</a></p>
-    <table>
-    {{ comment_form.as_table }}
-    </table>
-    <div><input type="submit" value="{% trans "Add comment" %}" /></div>
-    {# <input type="submit" name="preview" value="{% trans "Preview comment" %}" /></li> #}
-</form>
-</div>