30 lines
874 B
HTML
30 lines
874 B
HTML
{{define "signup"}}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>{{.Title}}</title>
|
|
<link rel="stylesheet" href="{{.StaticPath}}/style.css">
|
|
</head>
|
|
<body>
|
|
{{template "navbar" .}}
|
|
<main>
|
|
<header>
|
|
<h2>Sign Up</h2>
|
|
</header>
|
|
<section>
|
|
{{if .Error}}
|
|
<p style="color: red;">{{.Error}}</p>
|
|
{{end}}
|
|
<form method="post" action="{{.BasePath}}/signup/">
|
|
<label for="username">Username:</label>
|
|
<input type="text" id="username" name="username" required><br>
|
|
<label for="password">Password:</label>
|
|
<input type="password" id="password" name="password" required><br>
|
|
<input type="submit" value="Sign Up">
|
|
</form>
|
|
</section>
|
|
</main>
|
|
{{template "cookie_banner" .}}
|
|
</body>
|
|
</html>
|
|
{{end}} |