9 lines
		
	
	
		
			538 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			538 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {{define "main"}}
 | |
| 	{{template "login"}}
 | |
| 	<div id="create-room" class="create-room-div">
 | |
| 	    <button button id="create-form-btn" type="submit" class="justify-center rounded-md bg-indigo-600 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" hx-get="/room/createform" hx-swap="outerHTML">SHOW ROOM CREATE FORM</button>
 | |
| 	</div>
 | |
| 	<!-- check if user in the room -->
 | |
| 	{{template "room" .}}
 | |
| {{end}}
 | 
