Cleaned code
This commit is contained in:
@@ -72,8 +72,6 @@ export class PasswordFormComponent {
|
||||
});
|
||||
await loading2.dismiss();
|
||||
await toast.present();
|
||||
|
||||
console.log(error.message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ export class ProfilFormComponent implements OnInit {
|
||||
duration: 2000,
|
||||
color: 'success'
|
||||
});
|
||||
|
||||
|
||||
await loading2.dismiss();
|
||||
await toast.present();
|
||||
} catch {
|
||||
|
||||
@@ -1,26 +1,36 @@
|
||||
<form [formGroup]="userForm">
|
||||
<ion-item lines="none">
|
||||
<ion-label position="stacked">Prénom <ion-text color="danger">*</ion-text></ion-label>
|
||||
<ion-label position="stacked">Prénom
|
||||
<ion-text color="danger">*</ion-text>
|
||||
</ion-label>
|
||||
<ion-input placeholder="Prénom" [clearInput]="true" formControlName="firstName"></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-label position="stacked">Nom <ion-text color="danger">*</ion-text></ion-label>
|
||||
<ion-label position="stacked">Nom
|
||||
<ion-text color="danger">*</ion-text>
|
||||
</ion-label>
|
||||
<ion-input placeholder="Nom de famille" [clearInput]="true" formControlName="name"></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-label position="stacked">Pseudo <ion-text color="danger">*</ion-text></ion-label>
|
||||
<ion-label position="stacked">Pseudo
|
||||
<ion-text color="danger">*</ion-text>
|
||||
</ion-label>
|
||||
<ion-input placeholder="Nom d'utilisateur" [clearInput]="true" formControlName="username"></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-label position="stacked">Adresse email <ion-text color="danger">*</ion-text></ion-label>
|
||||
<ion-label position="stacked">Adresse email
|
||||
<ion-text color="danger">*</ion-text>
|
||||
</ion-label>
|
||||
<ion-input placeholder="Email" [clearInput]="true" formControlName="email"></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-label position="stacked">Mot de passe <ion-text color="danger">*</ion-text></ion-label>
|
||||
<ion-label position="stacked">Mot de passe
|
||||
<ion-text color="danger">*</ion-text>
|
||||
</ion-label>
|
||||
<ion-input type="password" placeholder="MotDePasse1234" [clearInput]="true" formControlName="password">
|
||||
<ion-input-password-toggle slot="end"></ion-input-password-toggle>
|
||||
</ion-input>
|
||||
|
||||
Reference in New Issue
Block a user