To gitea and beyond, let's go(-yco)
This commit is contained in:
23
internal/templates/forgot_password.gohtml
Normal file
23
internal/templates/forgot_password.gohtml
Normal file
@@ -0,0 +1,23 @@
|
||||
{{define "content"}}
|
||||
<section class="auth-card">
|
||||
<h1>Reset your password</h1>
|
||||
<p class="auth-card__message">Enter your username or email address and we'll send you a link to reset your password.</p>
|
||||
|
||||
<form method="post" action="/forgot-password" novalidate>
|
||||
<input type="hidden" name="csrf_token" value="{{.CSRFToken}}" />
|
||||
<label for="username_or_email">Username or email address</label>
|
||||
<input
|
||||
type="text"
|
||||
id="username_or_email"
|
||||
name="username_or_email"
|
||||
value="{{index .FormValues "username_or_email"}}"
|
||||
required
|
||||
autofocus
|
||||
placeholder="username or you@example.com"
|
||||
/>
|
||||
|
||||
<button type="submit">Send reset link</button>
|
||||
<p class="hint"><a href="/login">Back to sign in</a></p>
|
||||
</form>
|
||||
</section>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user