Created
October 26, 2011 07:35
-
-
Save L42y/1315696 to your computer and use it in GitHub Desktop.
load comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% load comments %} | |
{% get_comment_count for article as comment_count %} | |
{% render_comment_list for article %} | |
<table> | |
<form action="{% comment_form_target %}" method="post"> | |
{% csrf_token %} | |
{{ form }} | |
<tr> | |
<td colspan="2"> | |
<input type="submit" name="submit" value="Post"> | |
<input type="submit" name="preview" value="Preview"> | |
</td> | |
</tr> | |
</form> | |
</table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment