Permalink
Browse files

div around csrf token for HTML compliance

  • Loading branch information...
1 parent a2aa2a6 commit 298b68e805d4e7a973f60abbbd9b049470b16fba @Fantomas42 committed Mar 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 zinnia/templates/comments/zinnia/entry/form.html
@@ -1,7 +1,7 @@
{% load comments i18n %}
{% load url from future %}
<form action="{% comment_form_target %}" method="post" id="comment-form">
- {% csrf_token %}
+ <div>{% csrf_token %}</div>
<fieldset>
<legend>{% trans "Post your comment" %}</legend>
<input type="hidden" name="next" value="{% url 'zinnia_comment_success' %}"/>

0 comments on commit 298b68e

Please sign in to comment.