erreur de syntax sur balise select
This commit is contained in:
parent
986c6d27aa
commit
944d35a0ac
@ -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;
|
||||
|
Reference in New Issue
Block a user