src/cm/templates/site/text_embed.html
changeset 438 fcc5e2f0befd
parent 126 b79d7ad83a8d
child 439 8994d24e4b2f
--- a/src/cm/templates/site/text_embed.html	Fri May 18 00:07:32 2012 +0200
+++ b/src/cm/templates/site/text_embed.html	Sat May 19 10:21:54 2012 +0200
@@ -20,7 +20,7 @@
 
 <div id="text_embed" class="tab-meta">   
 
-<form id="embed" enctype="multipart/form-data" action="." method="post">
+<form id="embed" enctype="multipart/form-data" action="." method="post">{% csrf_token %}
 
 <h2 class="title_first">{% blocktrans %}Embed text{% endblocktrans %}</h2>
 {% blocktrans %}Copy this code into your site to display text with comments.{% endblocktrans %} {% blocktrans %}Users will also be able to add comments from your site depending on anonymous users' roles.{% endblocktrans %}