1
0

erreur de syntax sur balise option

This commit is contained in:
Daniel Tartavel 2022-09-19 10:31:45 +02:00
parent 6ef070119d
commit c9c503e3b3

View File

@ -123,13 +123,13 @@ function votesForm($path, $libelle = "", $method = 0)
$id = $value["id"];
if ($id == $method)
{
print('<option value ="' . $id . '" selected>' . $value["libelle"] . '<option>' . EOL);
print('<option value ="' . $id . '" selected>' . $value["libelle"] . '</option>' . EOL);
}else
{
print('<option value ="' . $id . '">' . $value["libelle"] . '<option>' . EOL);
print('<option value ="' . $id . '">' . $value["libelle"] . '</option>' . EOL);
}
}
print("</select>"). EOL;
print("</select>"). EOLH;
print('<input type="submit" formaction="index.php" value="' . _("Annuler") . '">') . EOL;
print('<input type="submit" value="' . _("Envoyer") . '">') . EOL;
print('</form>') . EOL;