1
0

erreur de syntax sur balise select

This commit is contained in:
Daniel Tartavel 2022-09-19 10:22:20 +02:00
parent 986c6d27aa
commit 944d35a0ac

View File

@ -112,7 +112,7 @@ function votesForm($path, $libelle = "", $method = 0)
print('<form method="get" action="' . $path . '">' . EOL);
print('<label for="libelle">' . _("Libellé du vote") .'</label><br><input type="text" id="libelle" name="libelle" value="'. $libelle . '">') . EOLH;
print('<label for="method">' . _("Méthode de vote") . '</label><br>
<input type="select" id="method" name="method" value="'. $method . '">') . EOLH;
<select id="method" name="method" value="'. $method . '">') . EOLH;
if ($method == 0)
{
print('<option value ="">' . _("Choisissez une option") . '<option>') . EOL;
@ -129,7 +129,7 @@ function votesForm($path, $libelle = "", $method = 0)
print('<option value ="' . $id . '">' . $value["libelle"] . '<option>' . EOL);
}
}
print("</select>");
print('<input type="submit" formaction="index.php" value="' . _("Annuler") . '">') . EOLH;
print('<input type="submit" value="' . _("Envoyer") . '">') . EOLH;
print('</form>') . EOL;