feat: join room, rooms.Update transactional
This commit is contained in:
@@ -31,5 +31,6 @@
|
||||
|
||||
<h1>Hello</h1>
|
||||
<p>This is index</p>
|
||||
<p>Your session is {{ . }}</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
</header>
|
||||
<section class="h-full grid place-content-center">
|
||||
<form
|
||||
id="loginForm"
|
||||
class="grid grid-cols-2 place-content-center border border-black rounded p-4 gap-6"
|
||||
>
|
||||
<div id="roomInput" class="flex flex-col gap-4">
|
||||
@@ -82,6 +83,11 @@
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</form>
|
||||
<script>
|
||||
window.addEventListener('DOMContentLoaded', (event) => {
|
||||
document.getElementById('loginForm').reset();
|
||||
});
|
||||
</script>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user