Remove pdf version too
[platal.git] / templates / admin / deces_promo.tpl
index 240bcd5..f34996f 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2004 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 
 
 
-<form action="{$smarty.server.PHP_SELF}" method="get">
+{foreach from=$new_deces item=i}
+<p class="erreur">Ajout du décès de {$i.name} le {$i.date}.</p>
+{/foreach}
+
+<form action="admin/deaths" method="post">
   <table class="tinybicol">
     <tr>
-      <td><input type="submit" value="&lt;&lt;" name="sub10" /></td>
+      <td>
+        <input type="submit" value="GO" style="visibility: hidden" />
+        <input type="submit" value="&lt;&lt;" name="sub10" />
+      </td>
       <td><input type="submit" value="&lt;"  name="sub01" /></td>
       <td>
         Promotion :
         <input type="submit" value="GO" />
       </td>
       <td><input type="submit" value="&gt;"  name="add01" /></td>
-      <td><input type="submit" value="&gt;&gt;" name="add10" /></td>
+      <td>
+        <input type="submit" value="&gt;&gt;" name="add10" />
+        <input type="submit" value="GO" style="visibility: hidden" />
+      </td>
     </tr>
   </table>
 </form>
 
-<form action="{$smarty.server.REQUEST_URI}" method="post">
+<form action="admin/deaths/{$promo}/validate" method="post">
   <table class="bicol" summary="liste des dates de décès">
     <tr>
       <th>Nom</th>
@@ -54,8 +64,7 @@
     {/iterate}
     <tr>
       <td class="center" colspan="2">
-        <input type="hidden" name="promo" value="{$promo}" />
-        <input type="submit" name="valider" value="Valider" />
+        <input type="submit" value="Valider" />
       </td>
     </tr>
   </table>