33 lines
1.4 KiB
HTML
33 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Buch bearbeiten</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
|
|
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
|
|
</head>
|
|
<body>
|
|
<div class="container mt-5">
|
|
<h1>Buch bearbeiten</h1>
|
|
<form method="POST">
|
|
<div class="form-group">
|
|
<label for="titel">Titel</label>
|
|
<input type="text" class="form-control" id="titel" name="titel" value="{{ buch.titel }}" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="autor">Autor</label>
|
|
<input type="text" class="form-control" id="autor" name="autor" value="{{ buch.autor }}" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="jahr">Jahr (optional)</label>
|
|
<input type="number" class="form-control" id="jahr" name="jahr" value="{{ buch.jahr }}">
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Speichern</button>
|
|
<a href="{{ url_for('index') }}" class="btn btn-secondary">Abbrechen</a>
|
|
</form>
|
|
</div>
|
|
<script src="{{ url_for('static', filename='js/bootstrap.bundle.min.js') }}"></script>
|
|
</body>
|
|
</html>
|