feat: create per song page

feat: add edit id
This commit is contained in:
robin committed 2026-11-13 15:23:49 +01:00
1 parent cb050dbc44
commit 6595eed927
4 files changed
+53 -2

No files matched your search

+6
View File
@@ -322,6 +322,12 @@ def admin_list():
songs = load_songs_list()
return render_template("admin_tasksList.html", songs=songs)
@bp.route("/admin/add/<task>")
@admin_required
def admin_add_task(task):
print(task)
return render_template("admin_add_task.html")
@bp.route("/api/admin/add", methods=["POST"])
@admin_required
def api_admin_add():