aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/templates
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-11 20:39:48 +0900
committernsfisis <nsfisis@gmail.com>2024-08-11 20:39:48 +0900
commit125e26b4d5c986f8531c098ecd5d291c1e1c7a76 (patch)
treefee5d641a05dc972a6b80fb3620d156f13d9b137 /backend/admin/templates
parente3502d9e649fe61bb0ba4046b2c23c0d78bc92e9 (diff)
downloadphperkaigi-2025-albatross-125e26b4d5c986f8531c098ecd5d291c1e1c7a76.tar.gz
phperkaigi-2025-albatross-125e26b4d5c986f8531c098ecd5d291c1e1c7a76.tar.zst
phperkaigi-2025-albatross-125e26b4d5c986f8531c098ecd5d291c1e1c7a76.zip
feat(backend): make `games.problem_id` non-null
Diffstat (limited to 'backend/admin/templates')
-rw-r--r--backend/admin/templates/game_edit.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/admin/templates/game_edit.html b/backend/admin/templates/game_edit.html
index f40cc5d..c1e38a6 100644
--- a/backend/admin/templates/game_edit.html
+++ b/backend/admin/templates/game_edit.html
@@ -43,7 +43,7 @@
</div>
<div>
<label>Problem ID</label>
- <input type="text" name="problem_id" value="{{ if .Game.ProblemID }}{{ .Game.ProblemID }}{{ end }}">
+ <input type="text" name="problem_id" value="{{ .Game.ProblemID }}">
</div>
<div>
<button type="submit">Save</button>