From 01817c0fcb360e08ace5ecfaea3f7d01a8945fbb Mon Sep 17 00:00:00 2001 From: asauer Date: Sun, 14 Apr 2019 21:13:07 +0200 Subject: [PATCH] Remove form.html --- gruppenbildungsspiel.py | 6 ---- templates/form.html | 80 ----------------------------------------- 2 files changed, 86 deletions(-) delete mode 100644 templates/form.html diff --git a/gruppenbildungsspiel.py b/gruppenbildungsspiel.py index 690105b..67cef05 100644 --- a/gruppenbildungsspiel.py +++ b/gruppenbildungsspiel.py @@ -109,12 +109,6 @@ def solution(): return redirect(url_for('thanks')) return render_template('solution.html', form=form, title='Sortierhut') - -# @app.route('/form') -# def form(): - # id = generate_id() - # return render_template('form.html', title='Sortierhut', text='Hallo, Fooboar', your_id=id) - @app.route('/result') def result(user_id): return render_template('result.html', title='Sortierhut', id=user_id) diff --git a/templates/form.html b/templates/form.html deleted file mode 100644 index 382c169..0000000 --- a/templates/form.html +++ /dev/null @@ -1,80 +0,0 @@ -{% extends "base.html" %} - {% block content %} -

Fooboar says Hi to {{ your_id }}

- -
-

Fiktionaler Computer
- -

- -

Welcher HTTP-Statuscode triff am häufigsten auf dich zu?
- -

- -

Lieblingsgemüse
- -

- -

Mein Spirit Animal ist:
- -

- -

Bevorzugtes Betriebssystem
- -

- -

Bitte hier ankreuzen!
- Nein! -

- -

E-Mailadresse (optional)
- Wenn du uns deine E-Mailadresse angibst, senden wir dir einen Link, unter dem du deine Antworten später noch einmal einsehen kannst. - Diese Angabe ist freiwillig, zur Auswertung und zur Id kommst du auch automatisch, wenn du auf "Antworten abschicken" drückst.
- -

- -
- -
- {% endblock %}