aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/templates
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-12 03:10:22 +0900
committernsfisis <nsfisis@gmail.com>2025-03-12 03:10:22 +0900
commit4848d10be595cbc257b1d43be1c924fdcf81284e (patch)
tree09e5afce1d2c99d64d4cebd2c580aeff11545752 /backend/admin/templates
parentb21e4525eca3b326799c2521da76236623e2cc57 (diff)
downloadphperkaigi-2025-albatross-4848d10be595cbc257b1d43be1c924fdcf81284e.tar.gz
phperkaigi-2025-albatross-4848d10be595cbc257b1d43be1c924fdcf81284e.tar.zst
phperkaigi-2025-albatross-4848d10be595cbc257b1d43be1c924fdcf81284e.zip
feat(backend): change is_public input to checkbox in game edit page
Diffstat (limited to 'backend/admin/templates')
-rw-r--r--backend/admin/templates/game_edit.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/backend/admin/templates/game_edit.html b/backend/admin/templates/game_edit.html
index 3b9d9de..5ff2ddc 100644
--- a/backend/admin/templates/game_edit.html
+++ b/backend/admin/templates/game_edit.html
@@ -23,10 +23,7 @@
</div>
<div>
<label>Is Public</label>
- <select name="is_public" required>
- <option value="public"{{ if .Game.IsPublic }} selected{{ end }}>Public</option>
- <option value="private"{{ if not .Game.IsPublic }} selected{{ end }}>Private</option>
- </select>
+ <input type="checkbox" name="is_public"{{ if .Game.IsPublic }} checked{{ end }}>
</div>
<div>
<label>Duration Seconds</label>