From 9ce8bab133a1be028aaac247066c34c8d31996f8 Mon Sep 17 00:00:00 2001 From: "Billy.Zheng" Date: Sun, 23 Jun 2024 18:33:42 +0800 Subject: [PATCH] Fix edit score bug. --- src/pages/universities/htmx/update_score_input_page.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/universities/htmx/update_score_input_page.cr b/src/pages/universities/htmx/update_score_input_page.cr index a2d4f40..b4267db 100644 --- a/src/pages/universities/htmx/update_score_input_page.cr +++ b/src/pages/universities/htmx/update_score_input_page.cr @@ -11,7 +11,7 @@ class Universities::Htmx::UpdateScoreInputPage < NoLayout name: "university:#{column_name}", id: "update_score_input", "hx-put": Universities::Update.with(id).path, - "hx-include": "next input[name='_csrf']", + "hx-include": "input[name='_csrf']", "hx-target": "closest td", "hx-swap": "outherHTML", style: "min-width: 25px; max-height: 30px;"