Feat: start game
This commit is contained in:
		| @@ -4,7 +4,7 @@ | ||||
|   <p>Room created by {{.Room.CreatorName}};</p> | ||||
|   <p>Game is running: {{.Room.IsRunning}}</p> | ||||
|   <p> | ||||
|     {{if eq .State.Username .Room.CreatorName}} | ||||
|     {{if and (eq .State.Username .Room.CreatorName) (not .Room.IsRunning)}} | ||||
|       <button hx-get="/start-game" hx-target="#room" class="bg-amber-100 text-black px-4 py-2 rounded">Start Game</button> | ||||
|     {{end}} | ||||
|   </p> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder