Add 'remember me' checkbox to sourcehut theme login page.
Signed-off-by: Martin Ashby <martin@ashbysoft.com>
This commit is contained in:
parent
fdfde5bad5
commit
a09385cb06
1 changed files with 13 additions and 0 deletions
|
@ -20,6 +20,19 @@
|
||||||
name="password"
|
name="password"
|
||||||
id="password" />
|
id="password" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{if .CanRememberMe}}
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="remember-me" class="checkbox">
|
||||||
|
<input
|
||||||
|
type="checkbox"
|
||||||
|
name="remember-me"
|
||||||
|
id="remember-me" />
|
||||||
|
Remember me
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
class="btn btn-primary"
|
class="btn btn-primary"
|
||||||
|
|
Loading…
Reference in a new issue