diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-05 06:23:19 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-05 06:23:19 +0900 |
| commit | f3c10e6857e86f6ed10a5308f7c020fcfc66d18d (patch) | |
| tree | e5c5d953b7c05758165758316ab3bb668c0c60d4 /backend | |
| parent | b0ff29a3c88bd3014cc966c619683c8d7e33d703 (diff) | |
| download | iosdc-japan-2025-albatross-f3c10e6857e86f6ed10a5308f7c020fcfc66d18d.tar.gz iosdc-japan-2025-albatross-f3c10e6857e86f6ed10a5308f7c020fcfc66d18d.tar.zst iosdc-japan-2025-albatross-f3c10e6857e86f6ed10a5308f7c020fcfc66d18d.zip | |
fix(backend): add missing `method="post"` to <form>
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/admin/templates/game_edit.html | 2 | ||||
| -rw-r--r-- | backend/admin/templates/user_edit.html | 2 |
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> |
