hmn/src/templates/src/auth_email_validation.html

20 lines
870 B
HTML

{{ template "base.html" . }}
{{ define "content" }}
<div class="content-block">
<form method="POST">
<input type="hidden" name="token" value="{{ .Token }}" />
{{/*NOTE: The username field isn't `type="hidden"` because this way browser will offer to save the username along with the password */}}
<input style="position:absolute; visibility:hidden;" type="text" name="username" value="{{ .Username }}" readonly />
<h1>Hi, {{ .Username }}!</h1>
<p class="mb3 b">You're almost done signing up.</p>
<p>To complete your registration and log in, please enter the password you used during the registration process.</p>
<label class="db b" for="password">Password</label>
<input class="db" type="password" name="password" minlength="8" required />
<input class="db mt3" type="submit" value="Complete registration" />
</form>
</div>
{{ end }}