edit function uses popup instead of redirect

This commit is contained in:
Anh-Thy04
2025-06-17 18:11:17 +02:00
parent f92d54ef91
commit ef55df519e
3 changed files with 36 additions and 3 deletions

View File

@@ -23,7 +23,8 @@ def dashboard():
.limit(50)
.all()
)
return render_template("dashboard.html", plates=Plates, logs=logs)
form = npForm()
return render_template("dashboard.html", plates=Plates, logs=logs, form=form)
@dash_blueprint.route("/add", methods=["GET", "POST"])