Commits

Kai Diefenbach committed b6c7220

Added some {% csrf_token %} tags.

Comments (0)

Files changed (3)

lfc/templates/lfc/manage/object_add.html

 <form class="lfc-form"
       method="post"
       action="{% url lfc_add_object language id %}">
+    {% csrf_token %}
     <table>
         {% include "lfc/manage/lfc_form.html" %}
     </table>
             var slug = $("#id_add-title").val()
             slug = URLify(slug, 200)
             $("#id_add-slug").val(slug);
-        });    
-    })    
+        });
+    })
 </script>

lfc/templates/lfc/manage/object_translate.html

               method="post"
               enctype="multipart/form-data"
               class="translate-form">
-
+            {% csrf_token %}      
             <table width="100%">
                 <tr>
                     <td width="50%">

lfc/templates/lfc/manage/portlet_add.html

 <form class="portlet-form"
       action="{% url lfc_add_portlet object_type_id object_id %}"
       method="post">
+    {% csrf_token %}
     <h1 class="first-heading">
         {% trans 'Add new portlet' %}
     </h1>