<?php include __DIR__ . '/../layouts/header.php'; ?>

<div class="container mt-4">
    <h2>Ajouter un paramètre</h2>
    
    <form action="/public/settings/store" method="POST">
        <div class="mb-3">
            <label for="keyname" class="form-label">Clé technique</label>
            <input type="text" class="form-control" id="keyname" name="keyname" required>
        </div>
        <div class="mb-3">
            <label for="label" class="form-label">Libellé</label>
            <input type="text" class="form-control" id="label" name="label" required>
        </div>
        <div class="mb-3">
            <label for="value" class="form-label">Valeur</label>
            <input type="text" class="form-control" id="value" name="value" required>
        </div>
        <button type="submit" class="btn btn-primary">Enregistrer</button>
        <a href="/settings" class="btn btn-secondary">Annuler</a>
    </form>
</div>

<?php include __DIR__ . '/../layouts/footer.php'; ?>