<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="utf-8">
    <title>Ajout d'une formule</title>
</head>
<body>
    <div class="home">
        <div id="Home_title"><strong>Ajout d'une formule</strong></div>
        <table class="table table-striped">   
            <tr>
                <form action="index.php?uc=gestion&action=validajout" method="POST">
                    <td><input type="text" style="color: black;" name="libelle" placeholder="Libellé de la formule"></td>
                    <td><input type="text" style="color: black;" name="tarif" placeholder="Prix de la formule"></td>
                    <td><button type="submit" style="color: black;">Valider</button></td>
                </form>
            </tr>
            <?php if (isset($erreur)): ?>
                <tr><td colspan="3" style="color: red;"><?php echo $erreur; ?></td></tr>
            <?php endif; ?>
        </table>
    </div>
</body>
</html>