32 lines
1.3 KiB
HTML
32 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Modifier un accompagnement</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>✏️ Modifier un accompagnement</h1>
|
|
|
|
<form method="POST" action="{{ url_for('edit_accompagnement', id=accompagnement['id']) }}" class="recipe-form">
|
|
<div class="form-group">
|
|
<label for="nom">Nom de l'accompagnement *</label>
|
|
<input type="text" id="nom" name="nom" value="{{ accompagnement['nom'] }}" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="descriptif">Description (optionnel)</label>
|
|
<textarea id="descriptif" name="descriptif" rows="3">{{ accompagnement['descriptif'] or '' }}</textarea>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-primary">💾 Enregistrer</button>
|
|
<a href="{{ url_for('accompagnements') }}" class="btn btn-secondary">❌ Annuler</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|