32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="fr">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>Ajouter un accompagnement</title>
|
||
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
||
</head>
|
||
<body>
|
||
<div class="container">
|
||
<h1>➕ Ajouter un accompagnement</h1>
|
||
|
||
<form method="POST" action="{{ url_for('add_accompagnement') }}" class="recipe-form">
|
||
<div class="form-group">
|
||
<label for="nom">Nom de l'accompagnement *</label>
|
||
<input type="text" id="nom" name="nom" required placeholder="Ex: Riz basmati, Frites maison...">
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label for="descriptif">Descriptif (optionnel)</label>
|
||
<textarea id="descriptif" name="descriptif" rows="4" placeholder="Préparation, suggestions, notes..."></textarea>
|
||
</div>
|
||
|
||
<div class="form-actions">
|
||
<button type="submit" class="btn">💾 Enregistrer</button>
|
||
<a href="{{ url_for('accompagnements') }}" class="btn btn-secondary">❌ Annuler</a>
|
||
</div>
|
||
</form>
|
||
</div>
|
||
</body>
|
||
</html>
|