From af19e08b020a567abada2b1a339be6574cb26555 Mon Sep 17 00:00:00 2001 From: Ecmu Date: Sun, 6 Mar 2016 20:36:22 +0100 Subject: [PATCH] #51 : make empty vote different from 'No' --- tpl/part/vote_table_classic.tpl | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/tpl/part/vote_table_classic.tpl b/tpl/part/vote_table_classic.tpl index e1feac7..f2a6f2d 100644 --- a/tpl/part/vote_table_classic.tpl +++ b/tpl/part/vote_table_classic.tpl @@ -51,24 +51,25 @@ - {foreach $vote->choices as $id=>$choice} + {foreach $slots as $id=>$slot} {* Parcourt "slots" et non "choices" pour prendre en compte aussi les colonnes non renseignées *} + {assign var='choice' value=$vote->choices[$id]}