1
0

added display of libelle

This commit is contained in:
Daniel Tartavel 2022-09-28 11:50:16 +02:00
parent f8b090de42
commit 164551359c

View File

@ -71,6 +71,7 @@ if ($dolibarr->result->num_rows == 0)
foreach($candidats as $candidat) foreach($candidats as $candidat)
{ {
echo '<input type="radio" name="vote[' . $vote["id"] . ']" value="' . $candidat["id"] . '"> ' . $candidat["candidat"] . '&nbsp;<br>'; echo '<input type="radio" name="vote[' . $vote["id"] . ']" value="' . $candidat["id"] . '"> ' . $candidat["candidat"] . '&nbsp;<br>';
echo nl2br($candidat["libelle"]) . EOLH;
} }
echo '<input type="radio" name="vote[' . $vote["id"] . ']" value="0"> Vote blanc&nbsp;<br>'; echo '<input type="radio" name="vote[' . $vote["id"] . ']" value="0"> Vote blanc&nbsp;<br>';
print "</pre> print "</pre>