première release
This commit is contained in:
31
templates/add_accompagnement.html
Normal file
31
templates/add_accompagnement.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user