This commit is contained in:
Dennis Kerschus
2024-02-19 09:41:36 +01:00
commit 14f63c00a4
5 changed files with 700 additions and 0 deletions

17
templates/index.html Normal file
View File

@@ -0,0 +1,17 @@
<html>
<head>
<title>Templating in Flask</title>
</head>
<body>
<h1>Dam {{ dam }} !</h1>
<p>Welcome to the world of Flask!</p>
<form method="post" action="/" enctype="multipart/form-data">
{{ form.csrf_token }}
<p>{{ form.ac.label }} {{ form.ac() }}</p>
<p>{{ form.advantage.label }} {{ form.advantage }}</p>
<p>{{ form.chatTekst.label }} {{ form.chatTekst(rows='40',cols='60') }}</p>
<p><input type="submit" value="Submit"></p>
</form>
</body>
</html>