1
0

erreur de syntax sur balise select

This commit is contained in:
Daniel Tartavel 2022-09-19 10:28:44 +02:00
parent 944d35a0ac
commit 6ef070119d
2 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ $path = $_SERVER["PHP_SELF"];
print('<br><br>
<!-- lalis Grid Section -->
<section id="content">
<div class="container">');
<div class="container">') . EOL;
print(' <div class="row">
<div class="col-lg-12 text-center">
<h3>Nouveau vote</h3>

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>
<select id="method" name="method" value="'. $method . '">') . EOLH;
<select id="method" name="method" value="'. $method . '">') . EOL;
if ($method == 0)
{
print('<option value ="">' . _("Choisissez une option") . '<option>') . EOL;
@ -129,9 +129,9 @@ 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("</select>"). EOL;
print('<input type="submit" formaction="index.php" value="' . _("Annuler") . '">') . EOL;
print('<input type="submit" value="' . _("Envoyer") . '">') . EOL;
print('</form>') . EOL;
}