Skip to content

Commit cb1dadd

Browse files
committed
Login Component
1 parent b9bf53f commit cb1dadd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/account/login/login.component.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h3 class="m-0">
1111
<form #loginForm="ngForm" class="kt-form" method="post" novalidate (ngSubmit)="login()">
1212

1313
<div class="form-group">
14-
<input #userNameOrEmailAddressInput="ngModel" [(ngModel)]="loginService.authenticateModel.userNameOrEmailAddress" autoFocus class="form-control m-input" type="text" autocomplete="new-password" placeholder="{{'UserNameOrEmail' | localize}} *" name="userNameOrEmailAddress" required />
14+
<input #userNameOrEmailAddressInput="ngModel" [(ngModel)]="loginService.authenticateModel.userNameOrEmailAddress" autoFocus class="form-control m-input" type="text" autocomplete="new-password" placeholder="{{'Email' | localize}} *" name="userNameOrEmailAddress" required />
1515
<validation-messages [formCtrl]="userNameOrEmailAddressInput" *ngIf="!userNameOrEmailAddressInput.touched"></validation-messages>
1616
</div>
1717

@@ -20,12 +20,12 @@ <h3 class="m-0">
2020
<validation-messages [formCtrl]="passwordInput" *ngIf="!passwordInput.touched"></validation-messages>
2121
</div>
2222

23-
<div class="form-group mt-4">
23+
<div class="form-group mt-4 justify-content-between d-flex">
2424
<label class="kt-checkbox">
2525
<input class="form-control" [(ngModel)]="loginService.rememberMe" type="checkbox" name="rememberMe" value="true" />{{"RememberMe" | localize}}
26-
<span></span>
27-
<a routerLink="/account/forgot-password" id="forget-password" class="kt-link kt-login__link-forgot">{{"ForgotPassword" | localize}}</a>
26+
<span></span>
2827
</label>
28+
<a routerLink="/account/forgot-password" id="forget-password" class="kt-link kt-login__link-forgot">{{"ForgotPassword" | localize}}</a>
2929
</div>
3030

3131
<!-- <p *ngIf="useCaptcha" class="mt-2 form-text text-muted">
@@ -36,8 +36,8 @@ <h3 class="m-0">
3636
<re-captcha #recaptchaRef (resolved)="captchaResolved($event)" [siteKey]="recaptchaSiteKey"></re-captcha>
3737
</div> -->
3838

39-
<div class="kt-login__actions">
40-
<button type="submit" class="btn btn-primary btn-elevate kt-login__btn-primary" [disabled]="!loginForm.form.valid">{{"LogIn" | localize}}</button>
39+
<div class="kt-login__actions justify-content-center">
40+
<button type="submit" class="btn btn-primary btn-elevate kt-login__btn-primary btn-pill" [disabled]="!loginForm.form.valid">{{"Sign In" | localize}}</button>
4141
</div>
4242
</form>
4343

0 commit comments

Comments
 (0)