Merge branch 'xorg/maint' into xorg/1.0.2/master
[platal.git] / templates / axletter / edit.tpl
index 8bbb112..cf893d3 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -25,7 +25,7 @@
 <form action="{$platal->pl_self()}" method="post">
   {xsrf_token_field}
   {if $am}
-  {include file="axletter/letter.tpl"}
+  {include file="axletter/letter.mail.tpl"}
 
   <p class="center">
     <input type="hidden" name="id" value="{$id}" />
     <input type="hidden" name="echeance" value="{$echeance}" />
     {/if}
     <input type="submit" name="valid" value="Aperçu" />
+    {if $subset}
+    <input type="submit" name="valid" value="Vérifier les emails" />
+    {/if}
     {if !$new}
     <input type="submit" name="valid" value="Confirmer" />
     {/if}