28 lines
No EOL
679 B
HTML
28 lines
No EOL
679 B
HTML
{{define "title"}}
|
|
Pollo // Root
|
|
{{end}}
|
|
|
|
{{define "headercontent"}}
|
|
Pollo // Root
|
|
{{end}}
|
|
|
|
{{define "head"}}
|
|
<link rel="stylesheet" href="/public/css/styles.css" />
|
|
{{end}}
|
|
|
|
{{define "main"}}
|
|
<div id="auth-form">
|
|
<h2>Register</h2>
|
|
<form hx-post="/api/register" hx-swap="none">
|
|
<input type="email" name="email" placeholder="Email" required>
|
|
<input type="password" name="password" placeholder="Password" required>
|
|
<button 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}} |