feat: login + register html templates

This commit is contained in:
2025-05-18 14:06:17 +02:00
parent 512d76a380
commit f382ccc008
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,17 @@
{{ define "content" }}
<form method="POST" action="/api/v1/login">
<label for="email">
Email:
<input type="email" name="email" required>
</label>
<br>
<label for="email">
Password:
<input type="password" name="password" required>
</label>
<br>
<button type="submit">
Login
</button>
</form>
{{ end }}

View File

@ -0,0 +1,21 @@
{{ define "content" }}
<form method="POST" action="/api/v1/register">
<label for="email">
Full Name:
<input type="text" name="full_name" required>
</label>
<label for="email">
Email:
<input type="email" name="email" required>
</label>
<br>
<label for="email">
Password:
<input type="password" name="password" required>
</label>
<br>
<button type="submit">
Register
</button>
</form>
{{ end }}