{% if object.enable_comments %}
{% if object.comments_expired %}
<div id="comments_open">
<h2>Post a comment</h2>
<p id="comment_policy">Please use <a href="http://daringfireball.net/projects/markdown/syntax">Markdown</a> syntax for formatting. No <abbr title="hypertext markup language">HTML</abbr> is allowed. By using this comment form, it's assumed that you agree with the terms of <a href="http://patrickbeeson.com/about/comments/" title="Comment policy for this Web site">my comment policy</a>.</p>
{% render_comment_form for object %}
</div>
{% else %}
<div id="comments_closed">
<h2 style="clear: both;">Comments no longer accepted for this entry.</h2>
<p id="comment_policy">To prevent spam, comments are no longer allowed after 60 days.</p>
</div>
{% endif %}
{% else %}
<div id="comments_closed">
<h2 style="clear: both;">Comments are closed for this entry.</h2>
</div>
{% endif %}
html+django
1
{%ifobject.enable_comments%}{%ifobject.comments_expired%}<divid="comments_open"><h2>Post a comment</h2><pid="comment_policy">Please use <ahref="http://daringfireball.net/projects/markdown/syntax">Markdown</a> syntax for formatting. No <abbrtitle="hypertext markup language">HTML</abbr> is allowed. By using this comment form, it's assumed that you agree with the terms of <ahref="http://patrickbeeson.com/about/comments/"title="Comment policy for this Web site">my comment policy</a>.</p>{%render_comment_formforobject%}</div>{%else%}<divid="comments_closed"><h2style="clear: both;">Comments no longer accepted for this entry.</h2><pid="comment_policy">To prevent spam, comments are no longer allowed after 60 days.</p></div>{%endif%}{%else%}<divid="comments_closed"><h2style="clear: both;">Comments are closed for this entry.</h2></div>{%endif%}
Hey there! I see you're running Internet Explorer 6.
That's neat. This reminds me of my grandpa. He had this old car that he kept having to fix. He spent so much money on it that he didn't want to get rid of it (even when it stopped running).
0 Comments