From 65da354e14c8a3118750273785f3d9a2e433d560 Mon Sep 17 00:00:00 2001 From: "Billy.Zheng" Date: Tue, 18 Jun 2024 18:18:40 +0800 Subject: [PATCH] Clean up --- src/components/universities/main.cr | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/universities/main.cr b/src/components/universities/main.cr index 803af57..e2bc6c5 100644 --- a/src/components/universities/main.cr +++ b/src/components/universities/main.cr @@ -466,7 +466,7 @@ then set (next ).value to my.value2 name: "university:is_marked_2023", value: "true", id: "marked_2023", - "hx-put": "data_marked_2023_url", + "hx-put": "", "hx-target": "", "hx-swap": "outerHTML", "hx-indicator": "#spinner", @@ -481,7 +481,7 @@ then set (next ).value to my.value2 input(type: "hidden", name: "university:is_marked_2022", value: "false", id: "marked_2022_unmark") input( type: "checkbox", - name: "university:is_marked_2022", + name: "", value: "true", id: "marked_2022", "hx-put": "data_marked_2022_url", @@ -502,7 +502,7 @@ then set (next ).value to my.value2 name: "university:is_marked_2021", value: "true", id: "marked_2021", - "hx-put": "data_marked_2021_url", + "hx-put": "", "hx-target": "", "hx-swap": "outerHTML", "hx-indicator": "#spinner", @@ -520,7 +520,7 @@ then set (next ).value to my.value2 name: "university:is_marked_2020", value: "true", id: "marked_2020", - "hx-put": "data_marked_2020_url", + "hx-put": "", "hx-target": "", "hx-swap": "outerHTML", "hx-indicator": "#spinner", @@ -538,7 +538,7 @@ then set (next ).value to my.value2 name: "university:is_marked", value: "true", id: "marked", - "hx-put": "data_marked_url", + "hx-put": "", "hx-target": "", "hx-swap": "outerHTML", "hx-indicator": "#spinner", @@ -555,7 +555,7 @@ then set (next ).value to my.value2 name: "chong_wen_bao:is_excluded", value: "true", id: "excluded", - "hx-put": "data_excluded_url", + "hx-put": "", "hx-target": "", "hx-swap": "outerHTML", "hx-indicator": "#spinner",