aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2021-07-04 19:42:06 +0100
committerSimon Ser <contact@emersion.fr>2021-07-04 21:54:12 +0200
commita09385cb06d2cb7ebdca6177a668e19af4cc3fea (patch)
tree00dc8727339b29843e247e3f5d792a199b82816f /themes/sourcehut
parentfdfde5bad5274ab9ccc81f55a0b9a590d422e7d2 (diff)
downloadalps-a09385cb06d2cb7ebdca6177a668e19af4cc3fea.tar.gz
alps-a09385cb06d2cb7ebdca6177a668e19af4cc3fea.zip
Add 'remember me' checkbox to sourcehut theme login page.
Signed-off-by: Martin Ashby <martin@ashbysoft.com>
Diffstat (limited to 'themes/sourcehut')
-rw-r--r--themes/sourcehut/login.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/themes/sourcehut/login.html b/themes/sourcehut/login.html
index 65605b4..c6e843a 100644
--- a/themes/sourcehut/login.html
+++ b/themes/sourcehut/login.html
@@ -20,6 +20,19 @@
name="password"
id="password" />
</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
type="submit"
class="btn btn-primary"