Form.html gebaut, Blöcke ausgelagert

This commit is contained in:
2024-01-13 16:19:52 +01:00
parent f3202c7235
commit a1ee5f3ea0
4 changed files with 33 additions and 17 deletions

4
app.py
View File

@@ -6,6 +6,10 @@ app = Flask(__name__)
def home():
return render_template('index.html')
@app.route ('/form', methods=['GET','POST'])
def form():
return render_template('form.html')
if __name__ == '__main__':
app.run(debug=True)