diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-12 03:10:22 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-12 03:10:22 +0900 |
| commit | 4848d10be595cbc257b1d43be1c924fdcf81284e (patch) | |
| tree | 09e5afce1d2c99d64d4cebd2c580aeff11545752 /backend/admin/templates | |
| parent | b21e4525eca3b326799c2521da76236623e2cc57 (diff) | |
| download | phperkaigi-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.html | 5 |
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> |
