Adds labels around checkbox and radio inputs.
[platal.git] / templates / events / form.tpl
index 5a224d0..d0e183b 100644 (file)
@@ -74,6 +74,7 @@
 <br />
 
 <form action="{$platal->path}" method="post" enctype="multipart/form-data">
+  {xsrf_token_field}
   <table class="bicol">
     <tr>
       <th colspan="2">Contenu de l'annonce</th>
         Importance
       </td>
       <td>
-        <input type="checkbox" name="important" {if $important}checked="checked"{/if}/> Marquer cette annonce comme très importante
+        <label><input type="checkbox" name="important" {if $important}checked="checked"{/if}/>
+        Marquer cette annonce comme très importante</label>
       </td>
     </tr>
     {/if}