mirror of
https://github.com/StefBuwalda/WebTech.git
synced 2025-10-30 19:29:58 +00:00
HET WERKT
This commit is contained in:
@@ -27,6 +27,7 @@ def thanks():
|
||||
@dash_blueprint.route("/", methods=["GET", "POST"])
|
||||
@login_required
|
||||
def index():
|
||||
"""
|
||||
session["_flashes"] = []
|
||||
my_form = ServiceForm()
|
||||
|
||||
@@ -46,8 +47,9 @@ def index():
|
||||
return redirect(url_for("application.dash"))
|
||||
else:
|
||||
flash("Het formulier is niet goed ingevuld")
|
||||
|
||||
return render_template("dash.html", form=my_form)
|
||||
"""
|
||||
# return render_template("dashboard.html", form=my_form)
|
||||
return render_template("dashboard.html")
|
||||
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user