diff --git a/__init__.py b/__init__.py index 9e31243..2c17ab5 100644 --- a/__init__.py +++ b/__init__.py @@ -55,9 +55,18 @@ def logout(): return redirect(url_for('index')) -@app.route('/workshop', methods=['GET']) +@app.route('/workshop', methods=['GET', 'POST']) @login_required def workshop(): + """ + if request.method == 'POST': + if request.form['NewSceanrio']: + + if request.form['NewSceanrio']: + + if request.form['NewSceanrio']: + """ + triggers_list = db_routing.get_trigers() actions_list = db_routing.get_actions() user_scripts_list = db_routing.get_user_scripts(current_user.get_id()) diff --git a/templates/workshop.html b/templates/workshop.html index 3cf6f23..176bd73 100644 --- a/templates/workshop.html +++ b/templates/workshop.html @@ -45,7 +45,7 @@