aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-05 06:23:19 +0900
committernsfisis <nsfisis@gmail.com>2024-08-05 06:23:19 +0900
commitf3c10e6857e86f6ed10a5308f7c020fcfc66d18d (patch)
treee5c5d953b7c05758165758316ab3bb668c0c60d4
parentb0ff29a3c88bd3014cc966c619683c8d7e33d703 (diff)
downloadiosdc-japan-2024-albatross-f3c10e6857e86f6ed10a5308f7c020fcfc66d18d.tar.gz
iosdc-japan-2024-albatross-f3c10e6857e86f6ed10a5308f7c020fcfc66d18d.tar.zst
iosdc-japan-2024-albatross-f3c10e6857e86f6ed10a5308f7c020fcfc66d18d.zip
fix(backend): add missing `method="post"` to <form>
-rw-r--r--backend/admin/templates/game_edit.html2
-rw-r--r--backend/admin/templates/user_edit.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/admin/templates/game_edit.html b/backend/admin/templates/game_edit.html
index 764b577..b2caf8f 100644
--- a/backend/admin/templates/game_edit.html
+++ b/backend/admin/templates/game_edit.html
@@ -5,7 +5,7 @@
{{ end }}
{{ define "content" }}
-<form>
+<form method="post">
<div>
<label>Game ID</label>
<input type="text" name="game_id" value="{{ .Game.GameID }}" readonly required>
diff --git a/backend/admin/templates/user_edit.html b/backend/admin/templates/user_edit.html
index 9089b1e..bde7c84 100644
--- a/backend/admin/templates/user_edit.html
+++ b/backend/admin/templates/user_edit.html
@@ -5,7 +5,7 @@
{{ end }}
{{ define "content" }}
-<form>
+<form method="post">
<div>
<label>User ID</label>
<input type="text" name="user_id" value="{{ .User.UserID }}" readonly required>