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