Load steps after setting flavor

This commit is contained in:
Tim Möhlmann
2018-10-18 12:56:16 +03:00
parent 5679d355aa
commit adfadab4cf
4 changed files with 22 additions and 12 deletions

View File

@@ -65,6 +65,11 @@ def build_app(path):
def wizard():
return flask.render_template('wizard.html')
@bp.route("/submit_flavor", methods=["POST"])
def submit_flavor():
data = flask.request.form.copy()
return flask.render_template('wizard.html', flavor=data["flavor"])
@bp.route("/submit", methods=["POST"])
def submit():
data = flask.request.form.copy()