Migrates the validation architecture to an User-based model, instead of the deprecate...
[platal.git] / templates / include / form.valid.orange.tpl
index 1cc4d8f..1a47a2f 100644 (file)
 
 <tr class="impair">
   <td class="titre">Promotion&nbsp;:</td>
-  <td>{$valid->promo}</td>
+  <td>{$valid->user->promo()}</td>
 </tr>
 <tr class="impair">
   <td class="titre">AnnĂ©e de sortie&nbsp;:</td>
-  <td>{$valid->promo_sortie} au lieu de {math equation="a + b" a=$valid->promo b=3}</td>
+  <td>{$valid->promo_sortie} au lieu de {math equation="a + b" a=$valid->user->promo() b=3}</td>
 </tr>
 
 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}