Merge branch 'platal-0.9.16'
[platal.git] / templates / emails / send.tpl
index 9219ee2..1a3095f 100644 (file)
@@ -68,6 +68,7 @@
     }
     $.post(platal_baseurl + "emails/send",
            { save: true,
+             token: '{xsrf_token}',
              from: form.from.value,
              to_contacts: toc,
              cc_contacts: ccc,
 </script>
 
 <form action="emails/send" method="post" enctype="multipart/form-data" id="form_mail" onsubmit="return check(this);">
+  {xsrf_token_field}
   <table class="bicol" cellpadding="2" cellspacing="0">
     <tr> 
       <th colspan="2">Destinataires</th>