July 2018
Intermediate to advanced
420 pages
8h 46m
English
Open ./Client/src/app/pages/auth/login/login.component.html and replace the form tag with the following code:
<form class="form-signin" (ngSubmit)="onSubmit(loginForm)" #loginForm="ngForm"> <div class="text-center mb-4"> <h1 class="h3 mt-3 mb-3 font-weight-normal">Welcome</h1> <p>Motorcycle builders and road lovers</p> <hr> </div> <div class="form-group" [ngClass]="{ 'has-error': !email.valid && (email.dirty || email.touched) }"> <label for="email">Email address</label> <input type="email" [(ngModel)]="user.email" name="email" #email="ngModel" required class="form-control" id="email" aria-describedby="emailHelp" placeholder="Enter email"> <div *ngIf="email.invalid && (email.dirty || email.touched)" ...Read now
Unlock full access