This commit is contained in:
phil 2024-03-20 12:58:06 +05:30
parent dc1e15bb2d
commit 31165ce3d5

View file

@ -1,7 +1,7 @@
<div layout="row" layout-padding fxLayout='column wrap' fxLayoutAlign="space-around center"> <div layout="row" layout-padding fxLayout='column wrap' fxLayoutAlign="space-around center">
<h1>Login</h1> <h1>Login</h1>
<form fxFlex fxLayout='column wrap'> <form fxFlex fxLayout='column wrap'>
<div class="form-group" [formGroup]="formGroup" fxLayout='column wrap' fxFlex> <div class="form-group" [formGroup]="formGroup" fxLayout='column wrap'>
<mat-form-field> <mat-form-field>
<mat-label>User name</mat-label> <mat-label>User name</mat-label>
<input matInput type="text" formControlName="userName" #userName required/> <input matInput type="text" formControlName="userName" #userName required/>
@ -11,7 +11,7 @@
<input matInput type="password" formControlName="password" #password required/> <input matInput type="password" formControlName="password" #password required/>
</mat-form-field> </mat-form-field>
</div> </div>
<div *ngIf="error" class="alert alert-danger error" fxFlex>{{error}}</div> <div *ngIf="error" class="alert alert-danger error">{{error}}</div>
<button <button
type="submit" type="submit"
mat-raised-button mat-raised-button