Beispiel #1
0
def index():
    return flask.render_template(
        "index.html.tpl",
        link = "home",
        form = dict(),
        errors = dict()
    )
Beispiel #2
0
def index():
    return flask.render_template(
        "index.html.tpl",
        link = "home",
        form = dict(),
        errors = dict()
    )
Beispiel #3
0
def form_action():
    return flask.render_template(
        "index.html.tpl",
        link = "form",
        form = dict(),
        errors = dict(
            name = ["Invalid name"],
            age = ["Invalid age"]
        )
    )
Beispiel #4
0
def form_action():
    return flask.render_template(
        "index.html.tpl",
        link = "form",
        form = dict(),
        errors = dict(
            name = ["Invalid name"],
            age = ["Invalid age"]
        )
    )