Feat: join team
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
{{define "teampew"}}
|
||||
<!-- <div class="w-1/4 p-4 border-r"> -->
|
||||
<div>
|
||||
<h2 class="text-xl mb-4">Join {{.}} Team</h2>
|
||||
<form hx-post="/join-team" hx-target="#room-content">
|
||||
<form hx-post="/join-team" hx-target="#ancestor">
|
||||
<input type="hidden" name="team" value="{{.}}">
|
||||
<div class="mb-1">
|
||||
<button type="submit" name="role" value="guesser" class="w-full bg-{{.}}-500 text-white py-2 px-4 rounded">
|
||||
|
Reference in New Issue
Block a user