Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SachaWildCode committed Jun 24, 2024
1 parent d7967a4 commit fc460a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/components/login-form/login-form.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ <h5>{{ message.title }}</h5>
<label for="email">Email</label>
<input type="email" placeholder="email" formControlName="email" autocomplete="email" />
<ng-container *ngIf="loginForm.controls['email'].dirty || showRequired">
<small *ngIf="loginForm.controls['email'].errors?.['required']">Email est requis.</small>
<small *ngIf="loginForm.controls['email'].errors?.['email']">Email est invalide.</small>
<small *ngIf="loginForm.controls['email'].errors?.['required']">L'email est requis.</small>
<small *ngIf="loginForm.controls['email'].errors?.['email']">L'email est invalide.</small>
</ng-container>
</div>
<div>
<label for="password">Password</label>
<label for="password">Mot de passe</label>
<input type="password" placeholder="password" formControlName="password" autocomplete="current-password" />
<ng-container *ngIf="loginForm.controls['password'].dirty || showRequired">
<ng-container *ngIf="loginForm.controls['password'].errors?.['required']">
<small>Le mot de passe est requis</small>
<small>Le mot de passe est requis.</small>
</ng-container>
<ng-container *ngIf="!loginForm.controls['password'].errors?.['required']">
<ng-container *ngFor="let error of loginForm.controls['password'].errors | keyvalue">
Expand Down

0 comments on commit fc460a5

Please sign in to comment.