buchverwaltung drin
This commit is contained in:
1 parent
f4f54af078
commit
217088c47f
5 files changed
+73
-2
No files matched your search
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Neues Buch</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>Neues Buch</h1>
|
||||
<form method="POST">
|
||||
<div class="form-group">
|
||||
<label for="titel">Titel</label>
|
||||
<input type="text" class="form-control" id="titel" name="titel" value="{{ titel }}" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="autor">Autor</label>
|
||||
<input type="text" class="form-control" id="autor" name="autor" value="{{ autor }}" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="jahr">Jahr (optional)</label>
|
||||
<input type="number" class="form-control" id="jahr" name="jahr" value="{{ jahr }}">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Anlegen</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>
|
||||
Reference in new issue
Block a user