diff options
author | Martin Ashby <martin@ashbysoft.com> | 2021-07-04 19:42:06 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-07-04 21:54:12 +0200 |
commit | a09385cb06d2cb7ebdca6177a668e19af4cc3fea (patch) | |
tree | 00dc8727339b29843e247e3f5d792a199b82816f | |
parent | fdfde5bad5274ab9ccc81f55a0b9a590d422e7d2 (diff) | |
download | alps-a09385cb06d2cb7ebdca6177a668e19af4cc3fea.tar.gz alps-a09385cb06d2cb7ebdca6177a668e19af4cc3fea.zip |
Add 'remember me' checkbox to sourcehut theme login page.
Signed-off-by: Martin Ashby <martin@ashbysoft.com>
-rw-r--r-- | themes/sourcehut/login.html | 13 |
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" |