Skip to content
Permalink
283e7ed17d
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
21 lines (19 sloc) 861 Bytes
<div>
<mat-card>
<mat-card-title>Login Page
</mat-card-title>
<form class="form-container" [formGroup]="form" (submit)="onSubmit()">
<mat-form-field appearance="outline">
<input matInput type="email" formControlName="Email" placeholder="Email">
<mat-error *ngIf="Email.invalid">Please enter a valid email</mat-error>
</mat-form-field>
<mat-form-field appearance="outline">
<input matInput type="password" formControlName="Password" placeholder="Password">
<mat-error *ngIf="Password.invalid">Please enter a password</mat-error>
</mat-form-field>
<div>
<button type="submit" [disabled]="form.invalid" mat-stroked-button>Login</button>
</div>
</form>
</mat-card>
</div>