diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-08 10:45:23 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-08 10:45:23 +0900 |
| commit | 32344d99c473b634c37f5d11e52ef389d46d4510 (patch) | |
| tree | 6c36ad60bc7ff6e18493f7045cb23bb18153fec7 /backend/admin/templates/game_edit.html | |
| parent | c889a9ad33374eae03cec5b0358d79016d6fd97e (diff) | |
| download | phperkaigi-2025-albatross-32344d99c473b634c37f5d11e52ef389d46d4510.tar.gz phperkaigi-2025-albatross-32344d99c473b634c37f5d11e52ef389d46d4510.tar.zst phperkaigi-2025-albatross-32344d99c473b634c37f5d11e52ef389d46d4510.zip | |
game start button
Diffstat (limited to 'backend/admin/templates/game_edit.html')
| -rw-r--r-- | backend/admin/templates/game_edit.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backend/admin/templates/game_edit.html b/backend/admin/templates/game_edit.html index 2c80558..3b9d9de 100644 --- a/backend/admin/templates/game_edit.html +++ b/backend/admin/templates/game_edit.html @@ -34,7 +34,7 @@ </div> <div> <label>Started At</label> - <input type="datetime-local" name="started_at" value="{{ if .Game.StartedAt }}{{ .Game.StartedAt }}{{ end }}"> + <input type="datetime-local" name="started_at" value="{{ if .Game.StartedAt }}{{ .Game.StartedAt }}{{ end }}" readonly> </div> <div> <label>Problem ID</label> @@ -43,5 +43,8 @@ <div> <button type="submit">Save</button> </div> + <div> + <button type="submit" formaction="{{ .BasePath }}/admin/games/{{ .Game.GameID }}/start">Start</button> + </div> </form> {{ end }} |
