Commit a5de56c9 by Matteo

Aggiunti msg errore in pagina registrazione

parent 6af86773
......@@ -68,19 +68,48 @@
</ion-row>
<ion-row color="primary" justify-content-center>
<div class="validation-errors" justify-content-center>
<ng-container *ngFor="let validation of validation_messages.nome">
<div class="error-message" *ngIf="matching_email_group.get('nome').hasError(validation.type) && (matching_email_group.get('nome').dirty
|| matching_email_group.get('nome').touched)">
{{ validation.message }}
</div>
</ng-container>
<ng-container *ngFor="let validation of validation_messages.cognome">
<div class="error-message" *ngIf="matching_email_group.get('cognome').hasError(validation.type) && (matching_email_group.get('cognome').dirty
|| matching_email_group.get('cognome').touched)">
{{ validation.message }}
</div>
</ng-container>
<ng-container *ngFor="let validation of validation_messages.cellulare">
<div class="error-message" *ngIf="matching_email_group.get('cellulare').hasError(validation.type) && (matching_email_group.get('cellulare').dirty
|| matching_email_group.get('cellulare').touched)">
{{ validation.message }}
</div>
</ng-container>
<ng-container *ngFor="let validation of validation_messages.email">
<div class="error-message" *ngIf="matching_email_group.get('email').hasError(validation.type) && (matching_email_group.get('email').dirty
|| matching_email_group.get('email').touched)">
{{ validation.message }}
</div>
</ng-container>
<ng-container *ngFor="let validation of validation_messages.newpasswordbis">
<div class="error-message" *ngIf="matching_email_group.get('newpasswordbis').hasError(validation.type) && (matching_email_group.get('newpasswordbis').dirty
|| matching_email_group.get('newpasswordbis').touched)">
{{ validation.message }}
</div>
</ng-container>
<ng-container *ngFor="let validation of validation_messages.newpasswordbis">
<div class="error-message" *ngIf="matching_email_group.hasError('areEqual')">
{{ validation.message }}
</div>
</ng-container>
</div>
</ion-row>
</ion-grid>
</form>
</div>
</ion-col>
<ion-col align-self-end size-md="6" size-lg="6" size-xs="12">
<ion-col align-self-end size-md="6" size-lg="6" size-xs="12" *ngIf="platform.is('desktop')">
<div class="body-blue2"></div>
<div class="body-img22"></div>
</ion-col>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment