add some functionality
This commit is contained in:
@@ -6,5 +6,9 @@ views = Blueprint('views', __name__)
|
||||
|
||||
@views.route('/', methods=['GET', 'POST'])
|
||||
def beer_tap():
|
||||
print("main")
|
||||
if request.method == 'POST':
|
||||
if request.form['submit_button'] == 'option1':
|
||||
print("Es Grosses uselah!")
|
||||
if request.form['submit_button'] == 'option2':
|
||||
print("Es Chliises uselah!")
|
||||
return render_template('beertap.html')
|
||||
|
||||
Reference in New Issue
Block a user