12 lines
290 B
Python
12 lines
290 B
Python
from flask import Flask, render_template
|
|
from markupsafe import escape
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route("/")
|
|
def start():
|
|
return render_template('index.jinja')
|
|
|
|
@app.route("/pay_cash/<price>")
|
|
def pay_cash(price: int):
|
|
return render_template('paycash.jinja', price=escape(price))
|