29 lines
No EOL
881 B
HTML
29 lines
No EOL
881 B
HTML
{{define "title"}}
|
|
Pollo // Register
|
|
{{end}}
|
|
|
|
{{define "headercontent"}}
|
|
Pollo // Register
|
|
{{end}}
|
|
|
|
{{define "head"}}
|
|
<link rel="stylesheet" href="/public/css/styles.css" />
|
|
{{end}}
|
|
|
|
{{define "main"}}
|
|
<div id="auth-form">
|
|
<h2 class="text-4xl">Register</h2>
|
|
<br>
|
|
<form class="flex flex-col gap-2" hx-post="/api/register" hx-swap="none">
|
|
<input class="input input-bordered input-primary w-full max-w-xs" type="email" name="email" placeholder="Email" required>
|
|
<input class="input input-bordered input-primary w-full max-w-xs" type="password" name="password" placeholder="Password" required>
|
|
<button class="btn btn-primary" type="submit">Register</button>
|
|
</form>
|
|
<p>Already have an account? <a href="/signin">Sign In</a></p>
|
|
</div>
|
|
{{end}}
|
|
|
|
{{define "foot"}}
|
|
<script src="/public/js/htmx.base.js"></script>
|
|
<script src="/public/js/htmx.sse.js"></script>
|
|
{{end}} |