fix unclosed div on productions

This commit is contained in:
Sanjay B 2013-09-04 15:13:01 +05:30
parent 8bd2584ffb
commit 0ae1901b23

View File

@ -163,21 +163,22 @@ $(function() {
<div class="addComments">
<h4>Your comments</h4>
<div id="comment_form">
{% get_comment_form for obj as form %}
<form action="{% comment_form_target %}" method="post">
{% csrf_token %}
<input type="hidden" name="next" value="{{ obj.get_absolute_url }}#buzz" />
{{ form.as_p }}
<p class="submit">
<input type="submit" name="post" class="submit-post" value="Post" />
</p>
<div id="comment_form">
{% get_comment_form for obj as form %}
<form action="{% comment_form_target %}" method="post">
{% csrf_token %}
<input type="hidden" name="next" value="{{ obj.get_absolute_url }}#buzz" />
{{ form.as_p }}
<p class="submit">
<input type="submit" name="post" class="submit-post" value="Post" />
</p>
</form>
<script>
$('#id_honeypot').closest('p').hide();
</script>
</form>
<script>
$('#id_honeypot').closest('p').hide();
</script>
</div>
</div>
{% else %}
<div class="addComments">
@ -193,6 +194,5 @@ $(function() {
<script type="text/javascript" src="/static/js/innertabs.js"></script>
<br />
<a href="{{ edit_url }}">Edit</a>