Minimum hacking to have a working site.
[platal.git] / templates / survey / show_checkboxtable.tpl
index c8746de..b58a0e9 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  *}
@@ -23,9 +23,9 @@
 <table class="bicol">
   <tr class="pair">
     <td></td>
-  {foreach from=$squestion.choices item=schoice}
-    <td>{$schoice}</td>
-  {/foreach}
+    {foreach from=$squestion.choices item=schoice}
+      <td>{$schoice}</td>
+    {/foreach}
   </tr>
 {foreach from=$squestion.subquestions item=ssubq key=ssqid}
   <tr class="{cycle values="impair,pair"}">
@@ -45,6 +45,7 @@
     </td>
     {/foreach}
   {/if}
+  </tr>
 {/foreach}
 </table>