Commit 738b0244f9e86a56677e59bb466e0c62569b2616
1 parent
e8a886be
Exists in
master
and in
10 other branches
Add "Keep logged in" on login block
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
src/app/layout/blocks/login-block/login-block.html
@@ -22,6 +22,14 @@ | @@ -22,6 +22,14 @@ | ||
22 | <label for="passwd">{{"auth.form.password" | translate}}</label> | 22 | <label for="passwd">{{"auth.form.password" | translate}}</label> |
23 | <input type="password" class="form-control" id="passwd" placeholder="{{'auth.form.password' | translate}}" ng-model="ctrl.credentials.password"> | 23 | <input type="password" class="form-control" id="passwd" placeholder="{{'auth.form.password' | translate}}" ng-model="ctrl.credentials.password"> |
24 | </div> | 24 | </div> |
25 | + <div class="form-inline"> | ||
26 | + <div class="checkbox-nice"> | ||
27 | + <input type="checkbox" id="keep-logged"> | ||
28 | + <label for="keep-logged"> | ||
29 | + {{"auth.form.keepLoggedIn" | translate}} | ||
30 | + </label> | ||
31 | + </div> | ||
32 | + </div> | ||
25 | <button type="submit" class="btn btn-default" ng-click="ctrl.login()">{{"auth.form.login_button" | translate}}</button> | 33 | <button type="submit" class="btn btn-default" ng-click="ctrl.login()">{{"auth.form.login_button" | translate}}</button> |
26 | </form> | 34 | </form> |
27 | </div> | 35 | </div> |